From: SASADA Koichi Date: 2012-10-26T16:41:09+09:00 Subject: [ruby-core:48302] Re: [ruby-trunk - Bug #7097] Thread locals don't work inside Enumerator (2012/10/26 15:41), Aaron Patterson wrote: >> I recommend that Thread#[] should be reference to >> > Thread#thread_variable_get, and so on. > The documentation I added for Thread#thread_variable_get does reference > Thread#[], and each method makes it clear that it's for thread locals > (not fiber locals). > I wrote wrong sentence. I wanted to write: The rdoc of Thread#[] (and Thread#[]=) should refer Thread#thread_variable_get(set). -- // SASADA Koichi at atdot dot net