Class: WebTranslateIt::Safe::Pipe
- Defined in:
- lib/web_translate_it/safe/pipe.rb
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 WebTranslateIt::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
11 12 13 14 15 16 17 |
# File 'lib/web_translate_it/safe/pipe.rb', line 11 def process return unless active? @backup.command << pipe @backup.extension << extension post_process end |