Class: Astrails::Safe::Pipe

Inherits:
Stream
  • Object
show all
Defined in:
lib/astrails/safe/pipe.rb

Direct Known Subclasses

Gpg, Gzip

Instance Attribute Summary

Attributes inherited from Stream

#backup, #config

Instance Method Summary collapse

Methods inherited from Stream

#expand, #initialize

Constructor Details

This class inherits a constructor from Astrails::Safe::Stream

Instance Method Details

#processObject



4
5
6
7
8
9
10
# File 'lib/astrails/safe/pipe.rb', line 4

def process
  return unless active?

  @backup.command << pipe
  @backup.extension << extension
  post_process
end