Sha256: 599a7529315d9fb9fc893d2f5f6252694ad87df8a669541e420c6bf6ee7663b3

Contents?: true

Size: 462 Bytes

Versions: 3

Compression:

Stored size: 462 Bytes

Contents

# frozen_string_literal: true

module Ffprober
  class FfprobeVersion
    def self.invalid?
      !new.valid?
    end

    def self.valid?
      new.valid?
    rescue NoFfprobeFound
      false
    end

    def valid?
      validator.valid?
    end

    def self.version
      new.version
    end

    def version
      Ffprober::Ffmpeg::Version.new
    end

    private

    def validator
      Ffprober::Ffmpeg::VersionValidator.new(version)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ffprober-0.5.5 lib/ffprober/ffprobe_version.rb
ffprober-0.5.3 lib/ffprober/ffprobe_version.rb
ffprober-0.5.2 lib/ffprober/ffprobe_version.rb