Module: Kernel
- Defined in:
- lib/pipeblock.rb
Instance Method Summary collapse
Instance Method Details
#pipe(*args, &block) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/pipeblock.rb', line 4 def pipe(*args, &block) scope_object = binding.of_caller(1).eval('self') start_object = args[0] pipe = Pipeblock::Pipeblock.new scope_object, &block pipe.start(start_object) pipe.run_list end |