lib/y_petri/simulation/transitions/ts.rb in y_petri-2.1.12 vs lib/y_petri/simulation/transitions/ts.rb in y_petri-2.1.16
- old
+ new
@@ -5,16 +5,10 @@
class YPetri::Simulation::Transitions
module Type_ts
include Type_t
include Type_s
- # Delta closure accessor.
- #
- def delta_closure
- @delta_closure ||= to_delta_closure
- end
-
# ts transitions have action closures.
#
def delta_closures
map &:delta_closure
end
@@ -52,7 +46,8 @@
return delta
end
LAMBDA
eval λ
end
+ alias delta_closure to_delta_closure
end
end # class YPetri::Simulation::Transitions