Sha256: 4c70c89094f3ecb1c0ff70b290aff14293f4b621b67720630a0e92bd47a39da3

Contents?: true

Size: 481 Bytes

Versions: 47

Compression:

Stored size: 481 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/envs'
require 'eac_ruby_utils/simple_cache'

module Avm
  module Executables
    class << self
      include ::EacRubyUtils::SimpleCache

      def env
        ::EacRubyUtils::Envs.local
      end

      private

      %w[docker file git php-cs-fixer tidy yapf].each do |program|
        define_method(program.underscore + '_uncached') do
          env.executable(program, '--version')
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
avm-tools-0.47.0 lib/avm/executables.rb
avm-tools-0.46.0 lib/avm/executables.rb
avm-tools-0.45.0 lib/avm/executables.rb
avm-tools-0.44.2 lib/avm/executables.rb
avm-tools-0.44.1 lib/avm/executables.rb
avm-tools-0.44.0 lib/avm/executables.rb
avm-tools-0.43.0 lib/avm/executables.rb