Class: Tap::Tasks::Null
- Inherits:
-
Tap::Task
- Object
- Tap::Task
- Tap::Tasks::Null
- Defined in:
- lib/tap/tasks/null.rb
Overview
:startdoc::task a dev/null task
Null serves the same function as /dev/null, that is inputs directed to Null go nowhere. Null does not accept joins and will not execute the default app joins.
% tap run -- load a --: null
Instance Method Summary collapse
Instance Method Details
#joins ⇒ Object
18 19 20 |
# File 'lib/tap/tasks/null.rb', line 18 def joins nil end |
#on_complete ⇒ Object
22 23 24 |
# File 'lib/tap/tasks/null.rb', line 22 def on_complete raise "cannot be participate in joins: #{self}" end |
#process(*args) ⇒ Object
14 15 16 |
# File 'lib/tap/tasks/null.rb', line 14 def process(*args) nil end |