Sha256: 2be4fc8d2e10c135f49370afa44a4a90934dff3b2cbdef3bb90e4e2c09e2671b
Contents?: true
Size: 743 Bytes
Versions: 1
Compression:
Stored size: 743 Bytes
Contents
# typed: strict # frozen_string_literal: true module Ffprober class FfprobeVersion extend T::Sig sig { returns(T::Boolean) } def self.invalid? !new.valid? end sig { returns(T::Boolean) } def self.valid? new.valid? rescue NoFfprobeFound false end sig { returns(T::Boolean) } def valid? validator.valid? end sig { returns(Ffprober::Ffmpeg::Version) } def self.version new.version end sig { returns(Ffprober::Ffmpeg::Version) } def version Ffprober::Ffmpeg::Version.new end private sig { returns(Ffprober::Ffmpeg::VersionValidator) } def validator Ffprober::Ffmpeg::VersionValidator.new(version) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffprober-1.0 | lib/ffprober/ffprobe_version.rb |