class RuboCop::Lockfile
def initialize(lockfile_path = nil)
-
lockfile_path
(String, Pathname, nil
) --
def initialize(lockfile_path = nil) lockfile_path ||= begin ::Bundler.default_lockfile if use_bundler_lock_parser? rescue ::Bundler::GemfileNotFound nil # We might not be a folder with a Gemfile, but that's okay. end @lockfile_path = lockfile_path end