зеркало из https://github.com/github/ruby.git
Fix documentation by @jc00ke [fix GH-278]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
66aa6aa500
Коммит
43a1629625
4
thread.c
4
thread.c
|
@ -2968,7 +2968,7 @@ rb_thread_alone(void)
|
|||
* call-seq:
|
||||
* thr.keys -> array
|
||||
*
|
||||
* Returns an an array of the names of the fiber-local variables (as Symbols).
|
||||
* Returns an array of the names of the fiber-local variables (as Symbols).
|
||||
*
|
||||
* thr = Thread.new do
|
||||
* Thread.current[:cat] = 'meow'
|
||||
|
@ -3002,7 +3002,7 @@ keys_i(VALUE key, VALUE value, VALUE ary)
|
|||
* call-seq:
|
||||
* thr.thread_variables -> array
|
||||
*
|
||||
* Returns an an array of the names of the thread-local variables (as Symbols).
|
||||
* Returns an array of the names of the thread-local variables (as Symbols).
|
||||
*
|
||||
* thr = Thread.new do
|
||||
* Thread.current.thread_variable_set(:cat, 'meow')
|
||||
|
|
Загрузка…
Ссылка в новой задаче