require 'tap/task' module Tap module Tasks # :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 # class Null < Tap::Task def process(*args) nil end def joins nil end def on_complete raise "cannot be participate in joins: #{self}" end end end end