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
{{{.
-
#to ⇒ Object
{{{.
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.
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
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
65 66 67 |
# File 'lib/cpee/processtransformation/structures.rb', line 65 def attributes @attributes end |
#condition ⇒ Object (readonly)
Returns the value of attribute condition.
65 66 67 |
# File 'lib/cpee/processtransformation/structures.rb', line 65 def condition @condition end |
#from ⇒ Object
{{{
64 65 66 |
# File 'lib/cpee/processtransformation/structures.rb', line 64 def from @from end |
#to ⇒ Object
{{{
64 65 66 |
# File 'lib/cpee/processtransformation/structures.rb', line 64 def to @to end |