зеркало из https://github.com/github/ruby.git
* variable.c: Adding extra example in docs. [Bug #9210]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
5db5677c66
Коммит
ff529cdc25
|
@ -1,3 +1,8 @@
|
|||
Mon Dec 30 23:33:07 2013 Ayumu AIZAWA <ayumu.aizawa@gmail.com>
|
||||
|
||||
* variable.c: adding extra example in docs.
|
||||
patched by Steve Klabnik. [Bug #9210]
|
||||
|
||||
Mon Dec 30 18:34:18 2013 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* encoding.c (must_encindex, rb_enc_from_index, rb_obj_encoding): mask
|
||||
|
|
|
@ -2517,8 +2517,9 @@ cvar_list(void *data)
|
|||
* class Two < One
|
||||
* @@var2 = 2
|
||||
* end
|
||||
* One.class_variables #=> [:@@var1]
|
||||
* Two.class_variables #=> [:@@var2, :@@var1]
|
||||
* One.class_variables #=> [:@@var1]
|
||||
* Two.class_variables #=> [:@@var2, :@@var1]
|
||||
* Two.class_variables(false) #=> [:@@var2]
|
||||
*/
|
||||
|
||||
VALUE
|
||||
|
|
Загрузка…
Ссылка в новой задаче