Sha256: 4663eadb742aa648b1003adc48b8d17874021e8e210a6c5356315c32fb758dbf

Contents?: true

Size: 156 Bytes

Versions: 2

Compression:

Stored size: 156 Bytes

Contents

class WrapperActor
  include Celluloid::IO
  execute_block_on_receiver :wrap

  def wrap
    yield
  end
end

def with_wrapper_actor
  WrapperActor.new
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
celluloid-io-0.17.3 spec/support/examples/classes.rb
celluloid-io-0.17.2 spec/support/examples/classes.rb