Skip to content
This repository
Browse code

Merge pull request #12713 from utenmiki/document

Add Rdoc document for Array#forty_two [ci skip]
  • Loading branch information...
commit 1adcebdb582f1cd091c5472d864e7c97b99333d0 2 parents aaedb1a + 3f79d84
Yves Senn authored November 01, 2013
2  activesupport/lib/active_support/core_ext/array/access.rb
@@ -48,6 +48,8 @@ def fifth
48 48
   end
49 49
 
50 50
   # Equal to <tt>self[41]</tt>. Also known as accessing "the reddit".
  51
+  #
  52
+  #   (1..42).to_a.forty_two # => 42
51 53
   def forty_two
52 54
     self[41]
53 55
   end

0 notes on commit 1adcebd

Please sign in to comment.
Something went wrong with that request. Please try again.