Sha256: 7ac53329064d4f43725d3a879b755dcc722f45ef97cda9042b6dca36d2d87ea0

Contents?: true

Size: 496 Bytes

Versions: 33

Compression:

Stored size: 496 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 latex php-cs-fixer tidy yapf xdg-open].each do |program|
        define_method(program.underscore + '_uncached') do
          env.executable(program, '--version')
        end
      end
    end
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
avm-tools-0.103.1 lib/avm/executables.rb
avm-tools-0.103.0 lib/avm/executables.rb
avm-tools-0.102.2 lib/avm/executables.rb
avm-tools-0.102.1 lib/avm/executables.rb
avm-tools-0.102.0 lib/avm/executables.rb
avm-tools-0.101.0 lib/avm/executables.rb
avm-tools-0.100.0 lib/avm/executables.rb
avm-tools-0.99.1 lib/avm/executables.rb
avm-tools-0.99.0 lib/avm/executables.rb
avm-tools-0.98.0 lib/avm/executables.rb
avm-tools-0.97.0 lib/avm/executables.rb
avm-tools-0.96.0 lib/avm/executables.rb
avm-tools-0.95.0 lib/avm/executables.rb
avm-tools-0.94.3 lib/avm/executables.rb
avm-tools-0.94.2 lib/avm/executables.rb
avm-tools-0.94.1 lib/avm/executables.rb
avm-tools-0.94.0 lib/avm/executables.rb
avm-tools-0.93.0 lib/avm/executables.rb
avm-tools-0.92.0 lib/avm/executables.rb
avm-tools-0.91.0 lib/avm/executables.rb