Skip to Content Skip to Search

class ActiveSupport::XMLConverter::DisallowedType

Raised if the XML contains attributes with type=“yaml” or type=“symbol”. Read Hash#from_xml for more details.

Inherits From

Public class methods

Source code GitHub
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 144
def initialize(type)
  super "Disallowed type attribute: #{type.inspect}"
end

Definition files