lib/y_petri/net.rb in y_petri-2.4.6 vs lib/y_petri/net.rb in y_petri-2.4.8

- old
+ new

@@ -169,10 +169,10 @@ alias new_simulation simulation # Networks are equal when their places and transitions are equal. # def == other - return false unless other.class_complies?( self.class ) + return false unless other.class_complies? self.class places == other.places && transitions == other.transitions end # Returns a string briefly describing the net. #