Method: RuboCop::Cop::Base#excluded_file?

Defined in:
lib/rubocop/cop/base.rb

#excluded_file?(file) ⇒ Boolean

Returns:

  • (Boolean)
[View source]

295
296
297
# File 'lib/rubocop/cop/base.rb', line 295

def excluded_file?(file)
  !relevant_file?(file)
end