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/trunk@5837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5a6de8f5c5
commit
3632100c64
3 changed files with 3 additions and 1 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
|
* Invokes <i>block</i> once for each element of <i>self</i>. Creates a
|
||||||
* new array containing the values returned by the block.
|
* 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 = [ "a", "b", "c", "d" ]
|
||||||
* a.collect {|x| x + "!" } #=> ["a!", "b!", "c!", "d!"]
|
* a.collect {|x| x + "!" } #=> ["a!", "b!", "c!", "d!"]
|
||||||
|
|
|
@ -10,6 +10,7 @@ abbrev.rb
|
||||||
base64.rb
|
base64.rb
|
||||||
benchmark.rb
|
benchmark.rb
|
||||||
cgi.rb
|
cgi.rb
|
||||||
|
cgi
|
||||||
complex.rb
|
complex.rb
|
||||||
date.rb
|
date.rb
|
||||||
English.rb
|
English.rb
|
||||||
|
|
1
lib/cgi/.document
Normal file
1
lib/cgi/.document
Normal file
|
@ -0,0 +1 @@
|
||||||
|
session.rb
|
Loading…
Add table
Reference in a new issue