aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-08 16:46:35 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2014-05-08 16:46:35 -0300
commit45bdbe00410afb4e77bc07cf940e6bf001abbc83 (patch)
tree464e6dcfd5d67329140acdb16d015c9b8d206862
parenta35f07e9dafac1e91703c8ceda34c8133a0db75b (diff)
parent6874f015d0328048ef3378e33e7fa3445364ee35 (diff)
downloadrails-45bdbe00410afb4e77bc07cf940e6bf001abbc83.tar.gz
rails-45bdbe00410afb4e77bc07cf940e6bf001abbc83.tar.bz2
rails-45bdbe00410afb4e77bc07cf940e6bf001abbc83.zip
Merge pull request #15030 from mechanicles/a-to-an
Change 'a' to 'an' [ci skip]
-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 6c3e48a3ca..2149d4439d 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -221,7 +221,7 @@ module ActiveSupport
def garbage?(value)
# If the type is the only element which makes it then
# this still makes the value nil, except if type is
- # a XML node(where type['value'] is a Hash)
+ # an XML node(where type['value'] is a Hash)
value['type'] && !value['type'].is_a?(::Hash) && value.size == 1
end