Class: CPEE::ProcessTransformation::Link

Inherits:
Object
  • Object
show all
Defined in:
lib/cpee/processtransformation/structures.rb

Overview

{{{

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(from, to, cond = nil) ⇒ Link

Returns a new instance of Link.



28
29
30
31
32
33
# File 'lib/cpee/processtransformation/structures.rb', line 28

def initialize(from,to,cond=nil)
  @from  = from
  @to = to
  @condition = cond
  @attributes = {}
end

Instance Attribute Details

#attributesObject (readonly)

Returns the value of attribute attributes.



27
28
29
# File 'lib/cpee/processtransformation/structures.rb', line 27

def attributes
  @attributes
end

#conditionObject (readonly)

Returns the value of attribute condition.



27
28
29
# File 'lib/cpee/processtransformation/structures.rb', line 27

def condition
  @condition
end

#fromObject

Returns the value of attribute from.



26
27
28
# File 'lib/cpee/processtransformation/structures.rb', line 26

def from
  @from
end

#toObject

Returns the value of attribute to.



26
27
28
# File 'lib/cpee/processtransformation/structures.rb', line 26

def to
  @to
end