Method: RuboCop::ResultCache#valid?

Defined in:
lib/rubocop/result_cache.rb

#valid?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)


116
117
118
# File 'lib/rubocop/result_cache.rb', line 116

def valid?
  File.exist?(@path)
end