aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorMatt Bridges <mbridges.91@gmail.com>2013-01-10 15:28:16 -0600
committerMatt Bridges <mbridges.91@gmail.com>2013-01-10 15:28:16 -0600
commit139461fc144983186c96bd50388d463895201ad3 (patch)
treef912a299ba4a2105a85ef26d054adca4ecf34a8d /activesupport
parent34126fa6e38b0010856d3ec8af04bdcfd9dde662 (diff)
downloadrails-139461fc144983186c96bd50388d463895201ad3.tar.gz
rails-139461fc144983186c96bd50388d463895201ad3.tar.bz2
rails-139461fc144983186c96bd50388d463895201ad3.zip
Updating Array access docs more consistent
[ci skip]
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/array/access.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/array/access.rb b/activesupport/lib/active_support/core_ext/array/access.rb
index a8f9dddae5..4f1e432b61 100644
--- a/activesupport/lib/active_support/core_ext/array/access.rb
+++ b/activesupport/lib/active_support/core_ext/array/access.rb
@@ -21,28 +21,28 @@ class Array
# Equal to <tt>self[1]</tt>.
#
- # %w( a b c d e).second # => "b"
+ # %w( a b c d e ).second # => "b"
def second
self[1]
end
# Equal to <tt>self[2]</tt>.
#
- # %w( a b c d e).third # => "c"
+ # %w( a b c d e ).third # => "c"
def third
self[2]
end
# Equal to <tt>self[3]</tt>.
#
- # %w( a b c d e).fourth # => "d"
+ # %w( a b c d e ).fourth # => "d"
def fourth
self[3]
end
# Equal to <tt>self[4]</tt>.
#
- # %w( a b c d e).fifth # => "e"
+ # %w( a b c d e ).fifth # => "e"
def fifth
self[4]
end