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
avm-eac_ruby_base1-0.30.3 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.65.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.65.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.64.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.63.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.62.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.62.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.61.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.61.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.30.2 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.60.3 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.60.2 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.60.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.60.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.59.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.30.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.58.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.57.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.56.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.56.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb