lib/cpee/processtransformation/structures.rb in cpee-1.3.130 vs lib/cpee/processtransformation/structures.rb in cpee-1.3.131
- old
+ new
@@ -40,11 +40,11 @@
class Node #{{{
include Container
@@niceid = -1
attr_reader :id, :label, :niceid
- attr_reader :endpoints, :methods, :parameters
+ attr_reader :endpoints, :methods, :parameters, :attributes
attr_accessor :script, :script_id, :script_var, :script_type, :incoming, :outgoing, :type
def initialize(id,type,label,incoming,outgoing)
@id = id
@niceid = (@@niceid += 1)
@type = type
@@ -56,9 +56,10 @@
@script_id = nil
@script_var = 'result'
@parameters = {}
@incoming = incoming
@outgoing = outgoing
+ @attributes = {}
end
end # }}}
module Struct #{{{
def each(&a)