lib/y_petri/net/state/feature/firing.rb in y_petri-2.1.37 vs lib/y_petri/net/state/feature/firing.rb in y_petri-2.1.39
- old
+ new
@@ -85,8 +85,8 @@
end
# Inspect string of the firing feature.
#
def inspect
- "<Feature::Firing of #{transition}>"
+ "<Feature::Firing of #{transition.name ? transition.name : transition}>"
end
end # YPetri::Net::State::Feature::Firing