Sha256: a3ee7d819729360635c1ad61f1a6315b0acb7b37e54b972b7673a01768280460
Contents?: true
Size: 724 Bytes
Versions: 17
Compression:
Stored size: 724 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[ffmpeg ffprobe] }.each do |validate_arg, commands| commands.each do |command| define_method("#{command}_uncached") do env.executable(command, validate_arg) end end end # @return [EacRubyUtils::Envs::Executable] def mudslide_uncached env.executable('mudslide', exec_args: %w[npx mudslide@latest], check_args: %w[--version]) end end end end
Version data entries
17 entries across 17 versions & 1 rubygems