Class: Beerxml::Properties::TimeInDays

Inherits:
Time
  • Object
show all
Defined in:
lib/beerxml/properties.rb

Overview

Time, but in days.

Instance Method Summary collapse

Methods inherited from Time

#unit_type

Methods inherited from Property

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

Instance Method Details

#base_unitObject



78
79
80
# File 'lib/beerxml/properties.rb', line 78

def base_unit
  'days'
end