Class: Concurrent::Actor::Behaviour::ExecutesContext

Inherits:
Abstract
  • Object
show all
Defined in:
lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb

Overview

Delegates messages and events to AbstractContext instance.

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from Concurrent::Actor::Behaviour::Abstract

Instance Method Details

#on_envelope(envelope) ⇒ undocumented



8
9
10
# File 'lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb', line 8

def on_envelope(envelope)
  context.on_envelope envelope
end

#on_event(public, event) ⇒ undocumented



12
13
14
15
# File 'lib/concurrent-ruby-edge/concurrent/actor/behaviour/executes_context.rb', line 12

def on_event(public, event)
  context.on_event(event)
  super public, event
end