Class: Beerxml::Properties::Temperature
- Inherits:
-
Property
- Object
- DataMapper::Property::Float
- Property
- Beerxml::Properties::Temperature
- Defined in:
- lib/beerxml/properties.rb
Overview
A temperature, in deg C.
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Property
#custom?, #dump, #load, #primitive?, #typecast_to_primitive
Instance Method Details
#base_unit ⇒ Object
61 62 63 |
# File 'lib/beerxml/properties.rb', line 61 def base_unit 'C' end |
#unit_type ⇒ Object
58 59 60 |
# File 'lib/beerxml/properties.rb', line 58 def unit_type 'temperature' end |