Class: Beerxml::Properties::Volume
- Defined in:
- lib/beerxml/properties.rb
Overview
A volume, in liters.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Property
#custom?, #dump, #load, #primitive?, #typecast_to_primitive
Instance Method Details
#base_unit ⇒ Object
51 52 53 |
# File 'lib/beerxml/properties.rb', line 51 def base_unit 'liters' end |
#unit_type ⇒ Object
48 49 50 |
# File 'lib/beerxml/properties.rb', line 48 def unit_type 'volume' end |