aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/2_2_release_notes.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-11-24 20:00:24 +0100
committerXavier Noria <fxn@hashref.com>2013-11-24 20:00:24 +0100
commit17c29a0df0da5414570b025b642e90968e96cddc (patch)
treede1fd00eb2df79bf6bdcaeb74cc17365eaa53e33 /guides/source/2_2_release_notes.md
parentb4b30c048d22b14d51cc2f0f5b397bf899a9ce49 (diff)
parent28a6a7ea3bd627a8b6693a4cb8305b89467592b4 (diff)
downloadrails-17c29a0df0da5414570b025b642e90968e96cddc.tar.gz
rails-17c29a0df0da5414570b025b642e90968e96cddc.tar.bz2
rails-17c29a0df0da5414570b025b642e90968e96cddc.zip
Merge remote-tracking branch 'docrails/master'
Conflicts: activesupport/lib/active_support/core_ext/hash/deep_merge.rb activesupport/lib/active_support/core_ext/hash/keys.rb
Diffstat (limited to 'guides/source/2_2_release_notes.md')
-rw-r--r--guides/source/2_2_release_notes.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/2_2_release_notes.md b/guides/source/2_2_release_notes.md
index 7db4cf07e7..c11d1240c4 100644
--- a/guides/source/2_2_release_notes.md
+++ b/guides/source/2_2_release_notes.md
@@ -327,7 +327,7 @@ Other features of memoization include `unmemoize`, `unmemoize_all`, and `memoize
The `each_with_object` method provides an alternative to `inject`, using a method backported from Ruby 1.9. It iterates over a collection, passing the current element and the memo into the block.
```ruby
-%w(foo bar).each_with_object({}) { |str, hsh| hsh[str] = str.upcase } #=> {'foo' => 'FOO', 'bar' => 'BAR'}
+%w(foo bar).each_with_object({}) { |str, hsh| hsh[str] = str.upcase } # => {'foo' => 'FOO', 'bar' => 'BAR'}
```
Lead Contributor: [Adam Keys](http://therealadam.com/)