lib/astrails/safe/pipe.rb in astrails-safe-0.1.6 vs lib/astrails/safe/pipe.rb in astrails-safe-0.1.7
- old
+ new
@@ -1,15 +1,13 @@
module Astrails
module Safe
class Pipe < Stream
+ def process
+ return unless active?
- def command
- "#{@parent.command}#{pipe}"
+ @backup.command << pipe
+ @backup.extension << extension
+ post_process
end
-
- def filename
- "#{@parent.filename}#{extension}"
- end
-
end
end
end