Sha256: 0565cdb32cc60585ec08d553c80060fe86ca8a8ec42415aca0f3a74c5fb69133

Contents?: true

Size: 364 Bytes

Versions: 184

Compression:

Stored size: 364 Bytes

Contents

# frozen_string_literal: true

require 'eac_ruby_utils/core_ext'

module Avm
  module EacRubyBase1
    class Rubocop
      module Envvar
        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
end

Version data entries

184 entries across 184 versions & 3 rubygems

Version Path
eac_tools-0.76.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.76.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.31.2 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.75.2 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.31.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.75.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.31.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.75.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.74.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.74.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.73.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.72.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.70.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.70.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.69.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.69.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.68.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.67.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.67.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.66.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb