lib/y_petri/net/state/feature/firing.rb in y_petri-2.1.33 vs lib/y_petri/net/state/feature/firing.rb in y_petri-2.1.34
- old
+ new
@@ -64,9 +64,15 @@
else
fail TypeError, "Argument type not supported!"
end
end
+ # Type of this feature.
+ #
+ def type
+ :flux
+ end
+
# A string briefly describing the firing feature.
#
def to_s
label
end