Method: ActiveSupport::XMLConverter::DisallowedType#initialize

Defined in:
activesupport/lib/active_support/core_ext/hash/conversions.rb

#initialize(type) ⇒ DisallowedType

Returns a new instance of DisallowedType.



144
145
146
# File 'activesupport/lib/active_support/core_ext/hash/conversions.rb', line 144

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