Class: CronSpec::MinuteFactory

Inherits:
CronSpecificationFactory show all
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

Methods inherited from CronSpecificationFactory

#parse

Constructor Details

#initializeMinuteFactory

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