Class: Linearly::Validation::Failure
- Inherits:
-
Object
- Object
- Linearly::Validation::Failure
- Includes:
- Singleton
- Defined in:
- lib/linearly/validation.rb
Overview
Failure is a representation of a problem encountered when validating a single State field.
Direct Known Subclasses
Defined Under Namespace
Classes: Missing, Unexpected
Instance Method Summary collapse
-
#inspect ⇒ String
Human-readable representation of the Failure.
Instance Method Details
#inspect ⇒ String
Human-readable representation of the Linearly::Validation::Failure
142 143 144 |
# File 'lib/linearly/validation.rb', line 142 def inspect "[#{self.class.name.split('::').last.downcase}]" end |