当 XML 包含 type=“yaml” 或 type=“symbol” 的属性时抛出。更多详情请阅读 Hash#from_xml。
方法
- N
类公共方法
new(type) 链接
来源: 显示 | 在 GitHub 上
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 144 def initialize(type) super "Disallowed type attribute: #{type.inspect}" end