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



80
81
82
# File 'lib/brewser/model/units.rb', line 80

def base_unit
  'dC'
end

#kind_ofObject



77
78
79
# File 'lib/brewser/model/units.rb', line 77

def kind_of
  :temperature
end