mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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:
parent
5db5677c66
commit
ff529cdc25
2 changed files with 8 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue