Sha256: 0c99a31d1e6fd5f53a96a6a99700d2f82cf8592f5ff0ab2099b7b20a45966168
Contents?: true
Size: 541 Bytes
Versions: 2
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/envs' require 'eac_ruby_utils/simple_cache' module Ehbrs module Executables class << self include ::EacRubyUtils::SimpleCache def env ::EacRubyUtils::Envs.local end private { '--version' => %w[flips] }.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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ehbrs-tools-0.39.1 | lib/ehbrs/executables.rb |
ehbrs-tools-0.39.0 | lib/ehbrs/executables.rb |