Class: Brewser::Model::Units::Volume

Inherits:
Units
  • Object
show all
Defined in:
lib/brewser/model/units.rb

Overview

A volume, in liters.

Instance Method Summary collapse

Methods inherited from Units

#custom?, #dump, #load, #primitive?, #typecast_to_primitive, #valid_kind?

Instance Method Details

#base_unitObject



61
62
63
# File 'lib/brewser/model/units.rb', line 61

def base_unit
  'l'
end

#kind_ofObject



58
59
60
# File 'lib/brewser/model/units.rb', line 58

def kind_of
  :volume
end