Class: Astrails::Safe::Pipe
Instance Attribute Summary
Attributes inherited from Stream
Instance Method Summary collapse
-
#process ⇒ Object
process adds required commands to the current shell command string :active?, :pipe, :extension and :post_process are defined in inheriting pipe classes.
Methods inherited from Stream
Constructor Details
This class inherits a constructor from Astrails::Safe::Stream
Instance Method Details
#process ⇒ Object
process adds required commands to the current shell command string :active?, :pipe, :extension and :post_process are defined in inheriting pipe classes
8 9 10 11 12 13 14 |
# File 'lib/astrails/safe/pipe.rb', line 8 def process return unless active? @backup.command << pipe @backup.extension << extension post_process end |