Exception: Kind::Validator::InvalidDefinition

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/kind/validator.rb

Instance Method Summary collapse

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