lib/y_petri/simulation/timed.rb in y_petri-2.4.3 vs lib/y_petri/simulation/timed.rb in y_petri-2.4.4

- old
+ new

@@ -188,10 +188,10 @@ end # Customized dup method that allows to modify the attributes of # the duplicate upon creation. # - def dup time: time, **named_args + def dup time: time(), **named_args super( **named_args ).tap { |instance| instance.reset_time! time } end # Alias for +#dup+ for timed simulations. #