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.



66
67
68
69
70
71
# File 'lib/cpee/processtransformation/structures.rb', line 66

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.



65
66
67
# File 'lib/cpee/processtransformation/structures.rb', line 65

def attributes
  @attributes
end

#conditionObject (readonly)

Returns the value of attribute condition.



65
66
67
# File 'lib/cpee/processtransformation/structures.rb', line 65

def condition
  @condition
end

#fromObject

{{{



64
65
66
# File 'lib/cpee/processtransformation/structures.rb', line 64

def from
  @from
end

#toObject

{{{



64
65
66
# File 'lib/cpee/processtransformation/structures.rb', line 64

def to
  @to
end