Exception: Kind::Validator::InvalidDefinition
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Kind::Validator::InvalidDefinition
- Defined in:
- lib/kind/validator.rb
Instance Method Summary collapse
-
#initialize(attribute) ⇒ InvalidDefinition
constructor
A new instance of InvalidDefinition.
Constructor Details
#initialize(attribute) ⇒ InvalidDefinition
Returns a new instance of InvalidDefinition.
12 13 14 |
# File 'lib/kind/validator.rb', line 12 def initialize(attribute) super "invalid type definition for :#{attribute} attribute. #{OPTIONS}" end |