Class: Brewser::Model::Units::TimeInDays

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

Overview

Time, but in days.

Instance Method Summary collapse

Methods inherited from Time

#kind_of

Methods inherited from Units

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

Instance Method Details

#base_unitObject



102
103
104
# File 'lib/brewser/model/units.rb', line 102

def base_unit
  'days'
end