mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Doug Kearns's doc. patch
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0313f4cee5
commit
7f2e1ef2d8
2 changed files with 3 additions and 2 deletions
2
array.c
2
array.c
|
@ -1636,7 +1636,7 @@ rb_ary_sort(ary)
|
|||
*
|
||||
* Invokes <i>block</i> once for each element of <i>self</i>. Creates a
|
||||
* new array containing the values returned by the block.
|
||||
* See also Enumerable#collect</code>.
|
||||
* See also <code>Enumerable#collect</code>.
|
||||
*
|
||||
* a = [ "a", "b", "c", "d" ]
|
||||
* a.collect {|x| x + "!" } #=> ["a!", "b!", "c!", "d!"]
|
||||
|
|
|
@ -10,6 +10,7 @@ abbrev.rb
|
|||
base64.rb
|
||||
benchmark.rb
|
||||
cgi.rb
|
||||
cgi
|
||||
complex.rb
|
||||
date.rb
|
||||
English.rb
|
||||
|
@ -29,4 +30,4 @@ test/unit.rb
|
|||
thread.rb
|
||||
thwait.rb
|
||||
time.rb
|
||||
yaml.rb
|
||||
yaml.rb
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue