Sha256: 645550d38773fc27a51559e96daf8c44d5653f2a5cad818c303315850bcb9b6b

Contents?: true

Size: 315 Bytes

Versions: 6

Compression:

Stored size: 315 Bytes

Contents

module Ffmprb

  class Process

    class Input

      def temporise!(extname=nil)
        extname ||= io.extname
        self.io = nil
        extend Temp
        @extname = extname
      end

      module Temp

        def io
          @io ||= File.temp_fifo(@extname)
        end

      end

    end

  end

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ffmprb-0.9.6 lib/ffmprb/process/input/temp.rb
ffmprb-0.9.4 lib/ffmprb/process/input/temp.rb
ffmprb-0.9.3 lib/ffmprb/process/input/temp.rb
ffmprb-0.9.2 lib/ffmprb/process/input/temp.rb
ffmprb-0.9.1 lib/ffmprb/process/input/temp.rb
ffmprb-0.9.0 lib/ffmprb/process/input/temp.rb