Sha256: df25f2b594eeeb072dcd342fdfbfe9f4e145694265c26ecad7b238cce1ce00ed

Contents?: true

Size: 505 Bytes

Versions: 10

Compression:

Stored size: 505 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[asciidoc 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

10 entries across 10 versions & 1 rubygems

Version Path
avm-tools-0.90.0 lib/avm/executables.rb
avm-tools-0.89.0 lib/avm/executables.rb
avm-tools-0.88.0 lib/avm/executables.rb
avm-tools-0.87.1 lib/avm/executables.rb
avm-tools-0.87.0 lib/avm/executables.rb
avm-tools-0.86.0 lib/avm/executables.rb
avm-tools-0.85.1 lib/avm/executables.rb
avm-tools-0.85.0 lib/avm/executables.rb
avm-tools-0.84.0 lib/avm/executables.rb
avm-tools-0.83.0 lib/avm/executables.rb