Class: Rea::MetaType::Process
- Inherits:
-
Object
- Object
- Rea::MetaType::Process
- Defined in:
- lib/rea/meta_type/process.rb
Direct Known Subclasses
Instance Method Summary collapse
- #inflow(*names, &block) ⇒ Object
- #inflows ⇒ Object
- #outflow(*names, &block) ⇒ Object
- #outflows ⇒ Object
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. names.each do |name| inflows << name end end |
#inflows ⇒ Object
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. names.each do |name| outflows << name end end |
#outflows ⇒ Object
9 10 11 |
# File 'lib/rea/meta_type/process.rb', line 9 def outflows @outflows ||= [] end |