Sha256: facc492424208f651b742137cad91e7a393dee7680de342b60fa537777630c94

Contents?: true

Size: 407 Bytes

Versions: 8

Compression:

Stored size: 407 Bytes

Contents

module Astrails
  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

8 entries across 8 versions & 4 rubygems

Version Path
akupchanko-astrails-safe-0.3.1 lib/astrails/safe/pipe.rb
astrails-safe-0.3.1 lib/astrails/safe/pipe.rb
astrails-safe-0.3.0 lib/astrails/safe/pipe.rb
netguru-safe-0.2.11 lib/astrails/safe/pipe.rb
netguru-safe-0.2.10 lib/astrails/safe/pipe.rb
netguru-safe-0.2.9 lib/astrails/safe/pipe.rb
darkofabijan-astrails-safe-0.2.9 lib/astrails/safe/pipe.rb
darkofabijan-astrails-safe-0.2.8 lib/astrails/safe/pipe.rb