Sha256: 7943555341bab5e38be0263b5419d5b87b7e8edfb077cf1fae20809f1656e353

Contents?: true

Size: 291 Bytes

Versions: 8

Compression:

Stored size: 291 Bytes

Contents

module Celluloid
  class CallChain
    def self.current_id=(value)
      Thread.current[:celluloid_chain_id] = value
      task = Thread.current[:celluloid_task]
      task.chain_id = value if task
    end

    def self.current_id
      Thread.current[:celluloid_chain_id]
    end
  end
end

Version data entries

8 entries across 6 versions & 4 rubygems

Version Path
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/celluloid-0.16.0/lib/celluloid/call_chain.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/call_chain.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/celluloid-0.16.0/lib/celluloid/call_chain.rb
scoot-0.0.4 .bundle/gems/ruby/2.2.0/gems/celluloid-0.16.0/lib/celluloid/call_chain.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/celluloid-0.16.0/lib/celluloid/call_chain.rb
celluloid-0.16.0 lib/celluloid/call_chain.rb
celluloid-0.16.0.pre3 lib/celluloid/call_chain.rb
celluloid-0.16.0.pre2 lib/celluloid/call_chain.rb