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:
hsbt 2013-04-09 00:26:22 +00:00
Родитель 66aa6aa500
Коммит 43a1629625
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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')