Class: TExp::WeekInterval

Inherits:
DayInterval show all
Defined in:
lib/texp/week_interval.rb

Instance Attribute Summary

Attributes inherited from DayInterval

#base_date, #interval

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_multiplierObject



5
6
7
# File 'lib/texp/week_interval.rb', line 5

def day_multiplier
  7
end

#interval_unitObject



9
10
11
# File 'lib/texp/week_interval.rb', line 9

def interval_unit
  "week"
end