diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-13 19:47:27 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-05-13 19:47:27 -0500 |
commit | bbd37753bf59a11a9e9b38a3ac7a94ec2906e188 (patch) | |
tree | e3dd104debd82878833481f3031ef4d90dcdc5af /activesupport | |
parent | c81f11d160b2d16cd89a4ed197d587075eec51ce (diff) | |
download | rails-bbd37753bf59a11a9e9b38a3ac7a94ec2906e188.tar.gz rails-bbd37753bf59a11a9e9b38a3ac7a94ec2906e188.tar.bz2 rails-bbd37753bf59a11a9e9b38a3ac7a94ec2906e188.zip |
Fixing Hash#stringify_keys docs
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/keys.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/keys.rb b/activesupport/lib/active_support/core_ext/hash/keys.rb index e0aa352818..be4d611ce7 100644 --- a/activesupport/lib/active_support/core_ext/hash/keys.rb +++ b/activesupport/lib/active_support/core_ext/hash/keys.rb @@ -1,7 +1,7 @@ class Hash # Return a new hash with all keys converted to strings. # - # { name: 'Rob', years: '28' }.stringify_keys + # { :name => 'Rob', :years => '28' }.stringify_keys # #=> { "name" => "Rob", "years" => "28" } def stringify_keys result = {} |