From 139461fc144983186c96bd50388d463895201ad3 Mon Sep 17 00:00:00 2001 From: Matt Bridges Date: Thu, 10 Jan 2013 15:28:16 -0600 Subject: [PATCH] Updating Array access docs more consistent [ci skip] --- activesupport/lib/active_support/core_ext/array/access.rb | 8 ++++---- 1 file 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 a8f9dddae58a2..4f1e432b61fff 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 @@ def to(position) # Equal to self[1]. # - # %w( a b c d e).second # => "b" + # %w( a b c d e ).second # => "b" def second self[1] end # Equal to self[2]. # - # %w( a b c d e).third # => "c" + # %w( a b c d e ).third # => "c" def third self[2] end # Equal to self[3]. # - # %w( a b c d e).fourth # => "d" + # %w( a b c d e ).fourth # => "d" def fourth self[3] end # Equal to self[4]. # - # %w( a b c d e).fifth # => "e" + # %w( a b c d e ).fifth # => "e" def fifth self[4] end