lib/y_petri/simulation/elements/access.rb in y_petri-2.1.9 vs lib/y_petri/simulation/elements/access.rb in y_petri-2.1.10
- old
+ new
@@ -20,10 +20,10 @@
end
# Elements of the simulation (belonging to the net).
#
def ee( ids=nil )
- elements( ids ).sources
+ elements( ids ).map &:source
end
# Names of the simulation's elements. Arguments, if any, are treated
# analogically to the +#elements+ method.
#