Method: TimeMath.month
- Defined in:
- lib/time_math.rb
.month ⇒ Units::Base
Shortcut to get month unit.
75 76 77 |
# File 'lib/time_math.rb', line 75 Units.names.each do |unit| define_singleton_method(unit) { Units.get(unit) } end |
Shortcut to get month unit.
75 76 77 |
# File 'lib/time_math.rb', line 75 Units.names.each do |unit| define_singleton_method(unit) { Units.get(unit) } end |