Class: TExp::WeekInterval
- Inherits:
-
DayInterval
- Object
- Base
- DayInterval
- TExp::WeekInterval
- Defined in:
- lib/texp/week_interval.rb
Instance Attribute Summary
Attributes inherited from DayInterval
Instance Method Summary collapse
Methods inherited from DayInterval
#encode, #includes?, #initialize, #inspect, parse_callback, #reanchor
Methods inherited from Base
#*, #+, #-, #-@, #each, #first_day_of_window, #include?, #last_day_of_window, parse_callback, #reanchor, register_parse_callback, #to_s, #window
Constructor Details
This class inherits a constructor from TExp::DayInterval
Instance Method Details
#day_multiplier ⇒ Object
5 6 7 |
# File 'lib/texp/week_interval.rb', line 5 def day_multiplier 7 end |
#interval_unit ⇒ Object
9 10 11 |
# File 'lib/texp/week_interval.rb', line 9 def interval_unit "week" end |