Module: YPetri::DSL

Defined in:
lib/y_petri/dsl.rb

Overview

YPetri DSL.

Instance Method Summary collapse

Instance Method Details

#y_petri_agentObject


5
6
7
8
# File 'lib/y_petri/dsl.rb', line 5

def y_petri_agent
  @y_petri_agent ||= Agent.new
    .tap { puts "Defining agent for #{self}" if YPetri::DEBUG }
end