Sha256: 7c4c0aeccf0f187ce9f008a046b92d145440e02d911c100ec2c06eaede668e8d

Contents?: true

Size: 274 Bytes

Versions: 4

Compression:

Stored size: 274 Bytes

Contents

# encoding: utf-8

$: << File.expand_path('../../lib', __FILE__)

require 'bundler/setup'
require 'mikka'


class Stallone < Mikka::Actor
  def receive(message)
    context.exit if message == 'punch!'
  end
end

stallone = Mikka.actor_of(Stallone).start
stallone << 'punch!'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mikka-1.1.1-java examples/simple_example.rb
mikka-1.1.0-java examples/simple_example.rb
mikka-1.0.1-java examples/simple_example.rb
mikka-1.0.0-universal-darwin-11 examples/simple_example.rb