mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* array.c: Fix typo in class documentation
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c42cf83f26
commit
92abfccaa3
1 changed files with 1 additions and 1 deletions
2
array.c
2
array.c
|
@ -5241,7 +5241,7 @@ rb_ary_drop_while(VALUE ary)
|
|||
* #=> [[nil, nil, nil], [nil, nil, nil], [nil, nil, nil]]
|
||||
*
|
||||
* An array can also be created by using the Array() method, provided by
|
||||
* Kernel, which calls #to_ary or #to_a on it's argument.
|
||||
* Kernel, which tries to call #to_ary, then #to_a on its argument.
|
||||
*
|
||||
* Array({:a => "a", :b => "b"}) #=> [[:a, "a"], [:b, "b"]]
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue