Class: Dramatis::Runtime::Gate

Inherits:
Object
  • Object
show all
Defined in:
lib/dramatis/runtime/gate.rb

Overview

:nodoc: all

Defined Under Namespace

Classes: Case, Constant, Hash

Constant Summary collapse

ACCEPT =
Constant.new true
REJECT =
Constant.new false

Class Method Summary collapse

Class Method Details

.newObject



8
9
10
11
12
13
14
15
# File 'lib/dramatis/runtime/gate.rb', line 8

def self.new
  gate = Case.new
  gate.accept Object
  gate.accept :actor
  gate.accept :continuation
  gate.accept :object
  gate
end