Class: CronSpec::DayFactory

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

Methods inherited from CronSpecificationFactory

#parse

Constructor Details

#initializeDayFactory

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