aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorSantosh Wadghule <santosh.wadghule@gmail.com>2014-05-09 01:07:04 +0530
committerSantosh Wadghule <santosh.wadghule@gmail.com>2014-05-09 01:07:04 +0530
commit6874f015d0328048ef3378e33e7fa3445364ee35 (patch)
tree4b74792d89f6c5aafdc1a3eb9781bc4cc608872e /activesupport
parentde6cda5e5fab17bd087b7fd6b6fa7a6cfa738ef1 (diff)
downloadrails-6874f015d0328048ef3378e33e7fa3445364ee35.tar.gz
rails-6874f015d0328048ef3378e33e7fa3445364ee35.tar.bz2
rails-6874f015d0328048ef3378e33e7fa3445364ee35.zip
Change 'a' to 'an' [ci skip]
Diffstat (limited to 'activesupport')
-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