mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
66aa6aa500
commit
43a1629625
1 changed files with 2 additions and 2 deletions
4
thread.c
4
thread.c
|
@ -2968,7 +2968,7 @@ rb_thread_alone(void)
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* thr.keys -> array
|
* 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
|
* thr = Thread.new do
|
||||||
* Thread.current[:cat] = 'meow'
|
* Thread.current[:cat] = 'meow'
|
||||||
|
@ -3002,7 +3002,7 @@ keys_i(VALUE key, VALUE value, VALUE ary)
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* thr.thread_variables -> array
|
* 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
|
* thr = Thread.new do
|
||||||
* Thread.current.thread_variable_set(:cat, 'meow')
|
* Thread.current.thread_variable_set(:cat, 'meow')
|
||||||
|
|
Loading…
Reference in a new issue