Exception: ValidationRuleNotFound
- Inherits:
-
StandardError
- Object
- StandardError
- ValidationRuleNotFound
- Defined in:
- lib/validation_profiler/rules/validation_rule_manager.rb
Instance Method Summary collapse
-
#initialize(rule) ⇒ ValidationRuleNotFound
constructor
A new instance of ValidationRuleNotFound.
- #to_s ⇒ Object
Constructor Details
#initialize(rule) ⇒ ValidationRuleNotFound
Returns a new instance of ValidationRuleNotFound.
74 75 76 |
# File 'lib/validation_profiler/rules/validation_rule_manager.rb', line 74 def initialize(rule) @rule = rule end |
Instance Method Details
#to_s ⇒ Object
78 79 80 81 |
# File 'lib/validation_profiler/rules/validation_rule_manager.rb', line 78 def to_s rule = @rule "Validation rule: #{rule} could not be found." end |