lib/y_petri/simulation/nodes/access.rb in y_petri-2.3.12 vs lib/y_petri/simulation/nodes/access.rb in y_petri-2.4.0
- old
+ new
@@ -60,10 +60,10 @@
#
def Nodes( array )
# NOTE: At the moment, the Simulation instance does not have a
# parametrized subclass of Simulation::Nodes class, the following
# statement is thus made to return a plain array of elements.
- Nodes().load array.map &method( :node )
+ NodesPS().load array.map &method( :node )
end
# Without arguments, returns all the nodes (places / transitions) of the
# simulation. Otherwise, it accepts an arbitrary number of nodes or node ids
# as arguments, and returns an array of the corresponding nodes of the