lib/y_petri/transition/arcs.rb in y_petri-2.1.3 vs lib/y_petri/transition/arcs.rb in y_petri-2.1.6

- old
+ new

@@ -1,10 +1,10 @@ -# -*- coding: utf-8 -*- +# encoding: utf-8 # Connectivity aspect of a transition. # -class YPetri::Transition +module YPetri::Transition::Arcs # Names of upstream places. # def domain_pp; domain.map { |p| p.name || p.object_id } end alias :upstream_pp :domain_pp @@ -46,6 +46,6 @@ uncock fire! downstream_places.each &:fire_downstream_recursively return true end -end # class YPetri::Transition +end # module YPetri::Transition::Arcs