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.35.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.96.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.35.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.95.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.34.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.91.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.34.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.33.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.83.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.82.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.81.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.33.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.80.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.79.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.32.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.78.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.32.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.77.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.77.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb