Class: ActivePeriod::Collection::HolidayPeriod
- Inherits:
-
Object
- Object
- ActivePeriod::Collection::HolidayPeriod
- Includes:
- ActivePeriod::Collection
- Defined in:
- lib/active_period/collection/holiday_period.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Attributes included from ActivePeriod::Collection
Instance Method Summary collapse
-
#initialize(klass, period, *args) ⇒ HolidayPeriod
constructor
A new instance of HolidayPeriod.
Methods included from ActivePeriod::Collection
#each, #find_nth, #fourth, #last, new, #reverse_each, #second, #third
Constructor Details
#initialize(klass, period, *args) ⇒ HolidayPeriod
Returns a new instance of HolidayPeriod.
10 11 12 13 |
# File 'lib/active_period/collection/holiday_period.rb', line 10 def initialize(klass, period, *args) super(klass, period) @options = args end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
8 9 10 |
# File 'lib/active_period/collection/holiday_period.rb', line 8 def @options end |