Sha256: aaeada547b18b5a5b2f3c0b5599084f3e3adf5631699614911a9326c03841f93

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
ffprober-0.5.1 lib/ffprober/ffprobe_version.rb