aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/active_support_core_extensions.textile
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2010-12-24 00:24:26 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2010-12-24 00:24:26 +0530
commitf1eb69c5b27050494cbc91890b107abd1dadfd48 (patch)
tree787b128a069f67035b0079ba2407056c69deec9d /railties/guides/source/active_support_core_extensions.textile
parent5683d6883b20e5ed88e26d07c841911b225a5841 (diff)
downloadrails-f1eb69c5b27050494cbc91890b107abd1dadfd48.tar.gz
rails-f1eb69c5b27050494cbc91890b107abd1dadfd48.tar.bz2
rails-f1eb69c5b27050494cbc91890b107abd1dadfd48.zip
fixing typo that crept in 2c8938f
Diffstat (limited to 'railties/guides/source/active_support_core_extensions.textile')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 8821a6e461..33e281d59b 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -1897,7 +1897,7 @@ The +inject+ method offers iteration with an accumulator:
<ruby>
[2, 3, 4].inject(1) {|product, i| product*i } # => 24
-</rubyproduct
+</ruby>
The block is expected to return the value for the accumulator in the next iteration, and this makes building mutable objects a bit cumbersome: