Class: CPEE::ProcessTransformation::Link
- Inherits:
-
Object
- Object
- CPEE::ProcessTransformation::Link
- Defined in:
- lib/cpee/processtransformation/structures.rb
Overview
{{{
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#condition ⇒ Object
readonly
Returns the value of attribute condition.
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
-
#initialize(from, to, cond = nil) ⇒ Link
constructor
A new instance of Link.
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
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
27 28 29 |
# File 'lib/cpee/processtransformation/structures.rb', line 27 def attributes @attributes end |
#condition ⇒ Object (readonly)
Returns the value of attribute condition.
27 28 29 |
# File 'lib/cpee/processtransformation/structures.rb', line 27 def condition @condition end |
#from ⇒ Object
Returns the value of attribute from.
26 27 28 |
# File 'lib/cpee/processtransformation/structures.rb', line 26 def from @from end |
#to ⇒ Object
Returns the value of attribute to.
26 27 28 |
# File 'lib/cpee/processtransformation/structures.rb', line 26 def to @to end |