Class: Brewser::Model::Units::Temperature

Inherits:
Units
  • Object
show all
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_unitObject



85
86
87
# File 'lib/brewser/model/units.rb', line 85

def base_unit
  'dC'
end

#kind_ofObject



82
83
84
# File 'lib/brewser/model/units.rb', line 82

def kind_of
  :temperature
end