Thread.current.key? nil

e$B0J2<$N$h$&$K!“e(BThread.current.key? nil e$B$N5sF0$,%9%l%C%IJQ?t$,e(B
e$B$”$k$+$I$&$+$GJQ$o$j$^$9!#e(B

% ./ruby -ve ’
p Thread.current.key? nil
Thread.current[:a] = 1
p Thread.current.key? nil

ruby 1.9.0 (2008-05-02 revision 16284) [i686-linux]
false
-e:4:in key?': nil is not a symbol (TypeError) from -e:4:in

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs