Class: ScheduleAttributes::RuleParser::Month

Inherits:
Base
  • Object
show all
Defined in:
lib/schedule_attributes/rule_parser/month.rb

Overview

Parse an options hash to a monthly rule

Assume a monthly rule starting on the :start_date if no :ordinal_day or :ordinal_week is given. If both of these options are present in the options hash, one can be selected with :ordinal_unit = (“day” or “week”).

Weekdays are applied for :ordinal_week only

Instance Attribute Summary

Attributes inherited from Base

#input

Method Summary

Methods inherited from Base

#exceptions, #initialize, #rule

Constructor Details

This class inherits a constructor from ScheduleAttributes::RuleParser::Base