Class: Brewser::Model::Units::Temperature
- Inherits:
-
Units
- Object
- DataMapper::Property::String
- Units
- Brewser::Model::Units::Temperature
- Defined in:
- lib/brewser/model/units.rb
Overview
A temperature, in deg C.
Instance Method Summary collapse
Methods inherited from Units
#custom?, #dump, #load, #primitive?, #typecast_to_primitive, #valid_kind?
Instance Method Details
#base_unit ⇒ Object
85 86 87 |
# File 'lib/brewser/model/units.rb', line 85 def base_unit 'dC' end |
#kind_of ⇒ Object
82 83 84 |
# File 'lib/brewser/model/units.rb', line 82 def kind_of :temperature end |