aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-01-14 13:43:47 +0530
committerAkshay Vishnoi <akshay.vishnoi@vinsol.com>2014-01-14 13:43:47 +0530
commita71a8e2a35e159b92d393228b935cee8301fce34 (patch)
tree59b6566762ef21ee5ad95a415f8d73d334650bc5 /activesupport/lib/active_support/core_ext/hash/conversions.rb
parentdb765ec741911ca8d9dfc9403f532d239301e435 (diff)
downloadrails-a71a8e2a35e159b92d393228b935cee8301fce34.tar.gz
rails-a71a8e2a35e159b92d393228b935cee8301fce34.tar.bz2
rails-a71a8e2a35e159b92d393228b935cee8301fce34.zip
[ci skip] Grammar correction
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, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb
index 2684c772ea..7bea461c77 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -105,7 +105,7 @@ class Hash
# hash = Hash.from_xml(xml)
# # => {"hash"=>{"foo"=>1, "bar"=>2}}
#
- # DisallowedType is raise 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