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