lib/y_petri/world.rb in y_petri-2.2.4 vs lib/y_petri/world.rb in y_petri-2.3.2
- old
+ new
@@ -1,19 +1,19 @@
# encoding: utf-8
require_relative 'world/dependency'
-require_relative 'world/petri_net_related'
-require_relative 'world/simulation_related'
+require_relative 'world/petri_net_aspect'
+require_relative 'world/simulation_aspect'
# As the name suggests, represents the world. Holds places, transitions, nets
# and other assets needed to set up and simulate Petri nets (settings, clamps,
# initial markings etc.). Provides basic methods to do what is necessary. More
# ergonomic and DSL-like methods are up to the YPetri::Agent.
#
class YPetri::World
★ NameMagic # ★ means include
- ★ PetriNetRelated
- ★ SimulationRelated
+ ★ PetriNetAspect
+ ★ SimulationAspect
def initialize
# Parametrize the Place / Transition / Net classes.
param_class!( { Place: YPetri::Place,
Transition: YPetri::Transition,