lib/y_petri/simulation/timed.rb in y_petri-2.1.12 vs lib/y_petri/simulation/timed.rb in y_petri-2.1.16
- old
+ new
@@ -170,11 +170,10 @@
# Sets up subclasses of +Core+ (the simulator) and +Recorder+ (the sampler)
# for timed simulations.
#
def init_core_and_recorder_subclasses
- param_class( { Core: YPetri::Core::Timed,
- Recorder: Recorder },
+ param_class( { Core: YPetri::Core::Timed, Recorder: Recorder },
with: { simulation: self } )
end
# Resets the time to initial time, or to the argument (if provided).
#