Sha256: 25c976274e10c34e9bf505359bb6301d41da9b6c64c5f700be3d056e4ddc986e

Contents?: true

Size: 369 Bytes

Versions: 106

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'
require 'eac_ruby_utils/on_clean_ruby_environment'

module Avm
  module Ruby
    class Rubocop
      RUBOCOP_COMMAND_ENVVAR_NAME = 'RUBOCOP_COMMAND'

      def env_rubocop_command
        ENV[RUBOCOP_COMMAND_ENVVAR_NAME].present? ? cmd(ENV[RUBOCOP_COMMAND_ENVVAR_NAME]) : nil
      end
    end
  end
end

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
avm-tools-0.110.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.109.1 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.109.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.108.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.107.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.106.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.105.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.104.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.103.1 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.103.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.102.2 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.102.1 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.102.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.101.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.100.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.99.1 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.99.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.98.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.97.0 lib/avm/ruby/rubocop/_envvar.rb
avm-tools-0.96.0 lib/avm/ruby/rubocop/_envvar.rb