aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides
diff options
context:
space:
mode:
authorLukas Stejskal <lucastej@gmail.com>2011-06-13 14:21:17 +0200
committerLukas Stejskal <lucastej@gmail.com>2011-06-13 14:21:17 +0200
commit67a705f95241e447b996487e5c42f2245f83aca2 (patch)
treedc2bf551f6fb9068fffb8faff0d62dc9cb690cfc /railties/guides
parentd7a2431408429d0967d9b59f07c0d4637f744d71 (diff)
downloadrails-67a705f95241e447b996487e5c42f2245f83aca2.tar.gz
rails-67a705f95241e447b996487e5c42f2245f83aca2.tar.bz2
rails-67a705f95241e447b996487e5c42f2245f83aca2.zip
fix two typos: and array -> an array
Diffstat (limited to 'railties/guides')
-rw-r--r--railties/guides/source/active_support_core_extensions.textile4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/active_support_core_extensions.textile b/railties/guides/source/active_support_core_extensions.textile
index 7512f7bcb9..16cacc9928 100644
--- a/railties/guides/source/active_support_core_extensions.textile
+++ b/railties/guides/source/active_support_core_extensions.textile
@@ -2282,7 +2282,7 @@ NOTE: Defined in +active_support/core_ext/array/grouping.rb+.
h5. +in_groups(number, fill_with = nil)+
-The method +in_groups+ splits an array into a certain number of groups. The method returns and array with the groups:
+The method +in_groups+ splits an array into a certain number of groups. The method returns an array with the groups:
<ruby>
%w(1 2 3 4 5 6 7).in_groups(3)
@@ -2714,7 +2714,7 @@ Active Support extends the method +Range#step+ so that it can be invoked without
(1..10).step(2) # => [1, 3, 5, 7, 9]
</ruby>
-As the example shows, in that case the method returns and array with the corresponding elements.
+As the example shows, in that case the method returns an array with the corresponding elements.
NOTE: Defined in +active_support/core_ext/range/blockless_step.rb+.