Sha256: 87af97b35b0ad6e1e931b04480af93b13757e26da0dc234b6cfb6b72ccac72d1

Contents?: true

Size: 312 Bytes

Versions: 10

Compression:

Stored size: 312 Bytes

Contents

module Ffprober
  class Format
    attr_reader :filename, :nb_streams, :format_name,
                :format_long_name, :start_time, :duration,
                :size, :bit_rate

    def initialize(object_attribute_hash)
      object_attribute_hash.each {|k,v| instance_variable_set("@#{k}",v)}
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ffprober-0.3.7 lib/ffprober/format.rb
ffprober-0.3.6 lib/ffprober/format.rb
ffprober-0.3.5 lib/ffprober/format.rb
ffprober-0.3.4 lib/ffprober/format.rb
ffprober-0.3.3 lib/ffprober/format.rb
ffprober-0.3.2 lib/ffprober/format.rb
ffprober-0.3.1 lib/ffprober/format.rb
ffprober-0.3.0 lib/ffprober/format.rb
ffprober-0.2.3 lib/ffprober/format.rb
ffprober-0.2.2 lib/ffprober/format.rb