Sha256: e45cb9fac80454a99d884ea1dc784a0bf856b53295029810e45e5c0b10d10389
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
#encoding: utf-8 # Representation of a YPetri::Place inside a YPetri::Simulation instance. # class YPetri::Simulation class ElementRepresentation include NameMagic include Dependency attr_reader :source # source place delegate :simulation, to: "self.class" # Expect a single YPetri place as an argument. # def initialize net_element_id @source = net.element( net_element_id ) end end # class ElementRepresentation end # class YPetri::Simulation
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
y_petri-2.1.3 | lib/y_petri/simulation/element_representation.rb |