Class: Rea::MetaType::Process

Inherits:
Object
  • Object
show all
Defined in:
lib/rea/meta_type/process.rb

Direct Known Subclasses

Conversion, Exchange

Instance Method Summary collapse

Instance Method Details

#inflow(*names, &block) ⇒ Object



13
14
15
16
17
18
# File 'lib/rea/meta_type/process.rb', line 13

def inflow *names, &block
  $options = names.extract_options!
  names.each do |name|
    inflows << name
  end
end

#inflowsObject



5
6
7
# File 'lib/rea/meta_type/process.rb', line 5

def inflows
  @inflows ||= []
end

#outflow(*names, &block) ⇒ Object



20
21
22
23
24
25
# File 'lib/rea/meta_type/process.rb', line 20

def outflow *names, &block
  $options = names.extract_options!
  names.each do |name|
    outflows << name
  end
end

#outflowsObject



9
10
11
# File 'lib/rea/meta_type/process.rb', line 9

def outflows
  @outflows ||= []
end