Exception: Expire::UnknownRuleError
- Inherits:
-
StandardError
- Object
- StandardError
- Expire::UnknownRuleError
- Defined in:
- lib/expire/unknown_rule_error.rb
Overview
Thrown if a rule-name is not known
Instance Method Summary collapse
-
#initialize(rule_name) ⇒ UnknownRuleError
constructor
A new instance of UnknownRuleError.
Constructor Details
#initialize(rule_name) ⇒ UnknownRuleError
Returns a new instance of UnknownRuleError.
6 7 8 |
# File 'lib/expire/unknown_rule_error.rb', line 6 def initialize(rule_name) super("unknown rule name \"#{rule_name}\"") end |