зеркало из https://github.com/github/ruby.git
* hash.c: [DOC] Improve description of symbol key syntax
Patch by Raphael Das Gupta in documenting-ruby/ruby#51: https://github.com/documenting-ruby/ruby/pull/51 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
48baa71ec6
Коммит
cdb58a19cc
|
@ -1,3 +1,9 @@
|
|||
Sat Aug 8 03:39:33 2015 Zachary Scott <zzak@ruby-lang.org>
|
||||
|
||||
* hash.c: [DOC] Improve description of symbol key syntax
|
||||
Patch by Raphael Das Gupta in documenting-ruby/ruby#51:
|
||||
https://github.com/documenting-ruby/ruby/pull/51
|
||||
|
||||
Fri Aug 7 21:04:19 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (parser_params): turn in_def and in_single into bit
|
||||
|
|
2
hash.c
2
hash.c
|
@ -3909,7 +3909,7 @@ env_update(VALUE env, VALUE hash)
|
|||
*
|
||||
* grades = { "Jane Doe" => 10, "Jim Doe" => 6 }
|
||||
*
|
||||
* Hashes allow an alternate syntax form when your keys are always symbols.
|
||||
* Hashes allow an alternate syntax for keys that are symbols.
|
||||
* Instead of
|
||||
*
|
||||
* options = { :font_size => 10, :font_family => "Arial" }
|
||||
|
|
Загрузка…
Ссылка в новой задаче