class CronSpec::WildcardCronValue

Represents a wildcard value

Public Class Methods

new(lower_limit, upper_limit) click to toggle source

Constructs a new WildcardCronValue with the specified limits.

Calls superclass method CronSpec::CronValueBase::new
# File lib/cron-spec/wildcard_cron_value.rb, line 11
def initialize(lower_limit, upper_limit)
  super(lower_limit, upper_limit)
end

Public Instance Methods

is_effective?(value) click to toggle source

Returns true if the specified value is any value whatsoever.

# File lib/cron-spec/wildcard_cron_value.rb, line 18
def is_effective?(value)
  true
end