Class: TimeSpanner::TimeUnits::Year
- Inherits:
-
CalendarUnit
- Object
- Unit
- CalendarUnit
- TimeSpanner::TimeUnits::Year
- Defined in:
- lib/time_spanner/time_units/year.rb
Instance Attribute Summary
Attributes inherited from CalendarUnit
Attributes inherited from Unit
#amount, #duration, #position, #rest
Instance Method Summary collapse
-
#initialize ⇒ Year
constructor
A new instance of Year.
Methods inherited from CalendarUnit
Methods inherited from Unit
Constructor Details
#initialize ⇒ Year
Returns a new instance of Year.
6 7 8 |
# File 'lib/time_spanner/time_units/year.rb', line 6 def initialize super 4 end |