Method: CPEE::ProcessTransformation::Node#initialize
- Defined in:
- lib/cpee/processtransformation/structures.rb
#initialize(context, id, type, label, incoming, outgoing) ⇒ Node
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/cpee/processtransformation/structures.rb', line 45 def initialize(context,id,type,label,incoming,outgoing) @@niceid[context] ||= -1 @niceid = (@@niceid[context] += 1) @id = id @type = type @label = label @endpoints = [] @methods = [] @script = nil @script_type = nil @script_id = nil @script_var = 'result' @parameters = {} @incoming = incoming @outgoing = outgoing @attributes = {} end |