lib/y_petri/net.rb in y_petri-2.1.36 vs lib/y_petri/net.rb in y_petri-2.1.37

- old
+ new

@@ -133,10 +133,11 @@ # Returns a string briefly describing the net. # def to_s "#<Net: " + ( name.nil? ? "%s" : "name: #{name}, %s" ) % - "#{pp.size rescue '∅'} places, #{tt.size rescue '∅'} transitions" + ">" + "#{pp.size rescue '∅'} places, #{tt.size rescue '∅'} transitions" + + ">" end # Inspect string of the instance. # def inspect