Sha256: 682a47e3747e42b9db859548d69ba77ad4a1dd0bcc64ad18cb1daafd15033214
Contents?: true
Size: 392 Bytes
Versions: 176
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true module RuboCop # This is a class that reads optional command line arguments to rubocop from environment variable. # @api private class ArgumentsEnv def self.read_as_arguments if (arguments = ENV.fetch('RUBOCOP_OPTS', '')).empty? [] else require 'shellwords' Shellwords.split(arguments) end end end end
Version data entries
176 entries across 175 versions & 18 rubygems