Module: Beerxml::Unit::Volume

Included in:
Beerxml::Unit
Defined in:
lib/beerxml/unit.rb

Class Method Summary collapse

Class Method Details

.included(k) ⇒ Object



115
116
117
118
# File 'lib/beerxml/unit.rb', line 115

def self.included(k)
  k.add_type('volume', 'liters', 'l', 'liter')
  k.add('volume', 0.26417, 'gallons', 'gallon')
end