Sha256: be63ae4c803f981b669755a7433277d7543ca327b0fe543835c5d559a93fb8c0

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

module WebTranslateIt
  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
        post_process
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
webtranslateit-safe-0.4.3 lib/webtranslateit/safe/pipe.rb
webtranslateit-safe-0.4.2 lib/webtranslateit/safe/pipe.rb
webtranslateit-safe-0.4.1 lib/webtranslateit/safe/pipe.rb