lib/astrails/safe/pipe.rb in astrails-safe-0.2.7 vs lib/astrails/safe/pipe.rb in astrails-safe-0.3.0
- old
+ new
@@ -1,7 +1,11 @@
module Astrails
module Safe
class Pipe < Stream
+ # process adds required commands to the current
+ # shell command string
+ # :active?, :pipe, :extension and :post_process are
+ # defined in inheriting pipe classes
def process
return unless active?
@backup.command << pipe
@backup.extension << extension