Sha256: 46dd8168693add4b02206ef98c29be4447bdf0a47ddb133b10af013302cd9a62
Contents?: true
Size: 256 Bytes
Versions: 18
Compression:
Stored size: 256 Bytes
Contents
require 'spec/helper' describe 'Thread.into' do it 'should provide access to thread vars' do Thread.current[:foo] = :bar Thread.new{ Thread.current[:foo].should == nil }.join Thread.into{ Thread.current[:foo].should == :bar }.join end end
Version data entries
18 entries across 18 versions & 4 rubygems