Module: YPetri

Defined in:
lib/y_petri.rb,
lib/y_petri/dsl.rb,
lib/y_petri/version.rb,
lib/y_petri/fixed_assets.rb

Overview

Public command interface of YPetri.

Defined Under Namespace

Modules: Core, DSL Classes: Agent, Net, Place, Simulation, Transition, World

Constant Summary collapse

VERSION =
"2.4.9"
DEBUG =
false
GuardError =
Class.new TypeError

Class Method Summary collapse

Class Method Details

.included(receiver) ⇒ Object


67
68
69
70
# File 'lib/y_petri.rb', line 67

def included( receiver )
  receiver.extend YPetri::DSL
  receiver.delegate :y_petri_agent, to: "self.class"
end