class CronSpec::HourFactory

Factory for constructing hour cron values from a cron specification.

Constants

HourLowerLimit

The lower limit of a value representing an hour of the day.

HourUpperLimit

The upper limit of a value representing an hour of the day.

Public Class Methods

new() click to toggle source

Constructs a new HourFactory object.

Calls superclass method CronSpec::CronSpecificationFactory::new
# File lib/cron-spec/hour_factory.rb, line 16
def initialize
  super
  @lower_limit = HourLowerLimit
  @upper_limit = HourUpperLimit
end