Permalink
Browse files

Merge pull request #14394 from zoltankiss/fix_typo

Minor grammer, code conventions fix [ci skip]
  • Loading branch information...
arthurnn committed Mar 15, 2014
2 parents 0da7758 + 2156df1 commit e3b12f6cb89ff0c5641e80fa9be904b4ed6fabb6
Showing with 1 addition and 2 deletions.
  1. +1 −2 activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -105,7 +105,7 @@ class << self
# hash = Hash.from_xml(xml)
# # => {"hash"=>{"foo"=>1, "bar"=>2}}
#
- # DisallowedType is raised if the XML contains attributes with <tt>type="yaml"</tt> or
+ # +DisallowedType+ is raised if the XML contains attributes with <tt>type="yaml"</tt> or
# <tt>type="symbol"</tt>. Use <tt>Hash.from_trusted_xml</tt> to parse this XML.
def from_xml(xml, disallowed_types = nil)
ActiveSupport::XMLConverter.new(xml, disallowed_types).to_h
@@ -241,4 +241,3 @@ def process_array(value)
end
end
-

0 comments on commit e3b12f6

Please sign in to comment.