Method: RuboCop::Cop::Base#on_other_file

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

#on_other_fileObject

Called instead of all on_… callbacks for unrecognized files / syntax errors When refining this method, always call ‘super`

[View source]

176
177
178
# File 'lib/rubocop/cop/base.rb', line 176

def on_other_file
  # Typically do nothing here
end