Sha256: d406a8036450f502ab493681b6003f40977fc0ed3978a234463d7a4e34afb15b

Contents?: true

Size: 150 Bytes

Versions: 4

Compression:

Stored size: 150 Bytes

Contents

# Monkeypatch Thread to allow lazy access to its Celluloid::Mailbox
class Thread
  def mailbox
    self[:mailbox] ||= Celluloid::Mailbox.new
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
celluloid-0.2.2 lib/celluloid/core_ext.rb
celluloid-0.2.1 lib/celluloid/core_ext.rb
celluloid-0.2.0 lib/celluloid/core_ext.rb
celluloid-0.1.0 lib/celluloid/core_ext.rb