Sha256: 101b754fb41319424918899da5856aa3dd4aa8c016cc4b80c564e66ced238408
Contents?: true
Size: 396 Bytes
Versions: 165
Compression:
Stored size: 396 Bytes
Contents
# frozen_string_literal: true module RuboCop # This is a class that reads optional command line arguments to rubocop from .rubocop file. # @api private class ArgumentsFile def self.read_as_arguments if File.exist?('.rubocop') && !File.directory?('.rubocop') require 'shellwords' File.read('.rubocop').shellsplit else [] end end end end
Version data entries
165 entries across 164 versions & 16 rubygems