Class: CronSpec::WildcardCronValue
- Inherits:
-
CronValueBase
- Object
- CronValueBase
- CronSpec::WildcardCronValue
- Defined in:
- lib/cron-spec/wildcard_cron_value.rb
Overview
Represents a wildcard value
Instance Attribute Summary
Attributes inherited from CronValueBase
Instance Method Summary collapse
-
#initialize(lower_limit, upper_limit) ⇒ WildcardCronValue
constructor
Constructs a new WildcardCronValue with the specified limits.
-
#is_effective?(value) ⇒ Boolean
Returns true if the specified value is any value whatsoever.
Methods inherited from CronValueBase
Constructor Details
#initialize(lower_limit, upper_limit) ⇒ WildcardCronValue
Constructs a new WildcardCronValue with the specified limits.
11 12 13 |
# File 'lib/cron-spec/wildcard_cron_value.rb', line 11 def initialize(lower_limit, upper_limit) super(lower_limit, upper_limit) end |
Instance Method Details
#is_effective?(value) ⇒ Boolean
Returns true if the specified value is any value whatsoever.
18 19 20 |
# File 'lib/cron-spec/wildcard_cron_value.rb', line 18 def is_effective?(value) true end |