Sha256: e51b9d78728226db13d0919102ee28488c740e51d2d3f5178123158c6953ecdb

Contents?: true

Size: 337 Bytes

Versions: 1

Compression:

Stored size: 337 Bytes

Contents

module Abrizer
  class FfprobeFile

    include FilepathHelpers

    def initialize(filename, output_directory)
      @informer = FfprobeInformer.new(filename)
      @output_directory = output_directory
    end

    def run
      File.open(ffprobe_filepath, 'w') do |fh|
        fh.puts @informer.json_result
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abrizer-0.4.0 lib/abrizer/ffprobe_file.rb