Module: Beerxml::Unit::Temperature
- Included in:
- Beerxml::Unit
- Defined in:
- lib/beerxml/unit.rb
Class Method Summary collapse
Class Method Details
.included(k) ⇒ Object
132 133 134 135 |
# File 'lib/beerxml/unit.rb', line 132 def self.included(k) k.add_type('temperature', 'c', 'C', 'celsius') # k.add('temperature', proc {}, 'f', 'F', 'fahrenheit') end |