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.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.7 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.6 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.5 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.4 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.29.2 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.3 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.29.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.2 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.55.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.29.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.54.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.53.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.28.1 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.52.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
avm-eac_ruby_base1-0.28.0 lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.51.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.50.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb
eac_tools-0.49.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/rubocop/envvar.rb