mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
[ruby-core:55299] [Bug #8487] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5f55e23f9c
commit
aff64b9478
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 4 23:44:02 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* object.c (rb_Hash): fix docs. patched by Stefan Schüßler.
|
||||
[ruby-core:55299] [Bug #8487]
|
||||
|
||||
Tue Jun 4 23:16:49 2013 Benoit Daloze <eregontp@gmail.com>
|
||||
|
||||
* lib/irb/completion.rb: Use %w literal construction for long lists.
|
||||
|
|
2
object.c
2
object.c
|
@ -2897,7 +2897,7 @@ rb_Hash(VALUE val)
|
|||
* <i>arg</i> is <tt>nil</tt> or <tt>[]</tt>.
|
||||
*
|
||||
* Hash([]) #=> {}
|
||||
* Hash(nil) #=> nil
|
||||
* Hash(nil) #=> {}
|
||||
* Hash(key: :value) #=> {:key => :value}
|
||||
* Hash([1, 2, 3]) #=> TypeError
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue