Exception: Hash::DisallowedType

Inherits:
StandardError
  • Object
show all
Defined in:
lib/active_support/core_ext/hash/conversions.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(type) ⇒ DisallowedType

Returns a new instance of DisallowedType.



89
90
91
# File 'lib/active_support/core_ext/hash/conversions.rb', line 89

def initialize(type)
  super "Disallowed type attribute: #{type.inspect}"
end