Class: CronSpec::DayFactory
- Inherits:
-
CronSpecificationFactory
- Object
- CronSpecificationFactory
- CronSpec::DayFactory
- Defined in:
- lib/cron-spec/day_factory.rb
Overview
Factory for constructing Day CronValues from a cron specification.
Constant Summary collapse
- DayLowerLimit =
The lower limit for a value representing a day of the month
1
- DayUpperLimit =
The upper limit for a value representing a day of the month
31
Constants inherited from CronSpecificationFactory
CronSpecificationFactory::RangePattern, CronSpecificationFactory::SingleValuePattern, CronSpecificationFactory::StepPattern, CronSpecificationFactory::WildcardPattern
Instance Method Summary collapse
-
#initialize ⇒ DayFactory
constructor
Constructs a new DayFactory object.
Methods inherited from CronSpecificationFactory
Constructor Details
#initialize ⇒ DayFactory
Constructs a new DayFactory object.
14 15 16 17 18 |
# File 'lib/cron-spec/day_factory.rb', line 14 def initialize super @lower_limit = DayLowerLimit @upper_limit = DayUpperLimit end |