class RuboCop::ArgumentsEnv
@api private
This is a class that reads optional command line arguments to rubocop from environment variable.
def self.read_as_arguments
def self.read_as_arguments if (arguments = ENV.fetch('RUBOCOP_OPTS', '')).empty? [] else require 'shellwords' Shellwords.split(arguments) end end