Sha256: b3112d5a1f4a9f7a3e2be091e3af2ccc6b3b2afff0eac7db3c95cb1bbf9da5ea
Contents?: true
Size: 531 Bytes
Versions: 53
Compression:
Stored size: 531 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/envs' require 'eac_ruby_utils/core_ext' module EhbrsRubyUtils module Executables class << self enable_simple_cache def env ::EacRubyUtils::Envs.local end private { '-version' => %w[ffprobe] }.each do |validate_arg, commands| commands.each do |command| define_method("#{command}_uncached") do env.executable(command, validate_arg) end end end end end end
Version data entries
53 entries across 53 versions & 2 rubygems