Method: ActiveSupport::XMLConverter::DisallowedType#initialize
- Defined in:
- lib/active_support/core_ext/hash/conversions.rb
#initialize(type) ⇒ DisallowedType
Returns a new instance of DisallowedType.
145 146 147 |
# File 'lib/active_support/core_ext/hash/conversions.rb', line 145 def initialize(type) super "Disallowed type attribute: #{type.inspect}" end |