Class: CronSpec::HourFactory
- Inherits:
-
CronSpecificationFactory
- Object
- CronSpecificationFactory
- CronSpec::HourFactory
- Defined in:
- lib/cron-spec/hour_factory.rb
Overview
Factory for constructing hour cron values from a cron specification.
Constant Summary collapse
- HourLowerLimit =
The lower limit of a value representing an hour of the day.
0
- HourUpperLimit =
The upper limit of a value representing an hour of the day.
23
Constants inherited from CronSpecificationFactory
CronSpecificationFactory::RangePattern, CronSpecificationFactory::SingleValuePattern, CronSpecificationFactory::StepPattern, CronSpecificationFactory::WildcardPattern
Instance Method Summary collapse
-
#initialize ⇒ HourFactory
constructor
Constructs a new HourFactory object.
Methods inherited from CronSpecificationFactory
Constructor Details
#initialize ⇒ HourFactory
Constructs a new HourFactory object.
16 17 18 19 20 |
# File 'lib/cron-spec/hour_factory.rb', line 16 def initialize super @lower_limit = HourLowerLimit @upper_limit = HourUpperLimit end |