aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2016-01-25 02:16:46 +0530
committerVipul A M <vipulnsward@gmail.com>2016-01-25 23:04:40 +0530
commitc7281b37ac35dd5522b1333a5c89bb399e566b93 (patch)
treeb4d76ec995061bd56526c6fbe748fa2565effa8d /activesupport/lib/active_support/core_ext/hash/conversions.rb
parent5119171d3927a99b73809aa29e58e8866ad07110 (diff)
downloadrails-c7281b37ac35dd5522b1333a5c89bb399e566b93.tar.gz
rails-c7281b37ac35dd5522b1333a5c89bb399e566b93.tar.bz2
rails-c7281b37ac35dd5522b1333a5c89bb399e566b93.zip
Fix nodoc to internal class error document some of them
[ci skip] Fixes #20808 [Vipul A M & Julio Lopez]
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb
index 8594d9bf2e..6741e732f0 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -138,6 +138,8 @@ end
module ActiveSupport
class XMLConverter # :nodoc:
+ # Raised if the XML contains attributes with type="yaml" or
+ # type="symbol". Read Hash#from_xml for more details.
class DisallowedType < StandardError
def initialize(type)
super "Disallowed type attribute: #{type.inspect}"