I noticed this in core\thread\current_spec.rb.
it "returns the current thread" do
t = Thread.new { Thread.current }
t.value.should equal(t)
Thread.current.should_not equal(t.value)
end
Is this any different than writing "t.value.should == t"? Is either of them the
recommended way? Seems odd to support two ways of writing the exact same thing.
Thanks,
Shri
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core