module RuboCop::Cop::IgnoredMethods

This module encapsulates the ability to ignore certain methods when parsing.

Private Instance Methods

ignored_method?(name) click to toggle source
# File lib/rubocop/cop/mixin/ignored_methods.rb, line 10
def ignored_method?(name)
  ignored_methods.include?(name.to_s)
end
ignored_methods() click to toggle source
# File lib/rubocop/cop/mixin/ignored_methods.rb, line 14
def ignored_methods
  cop_config.fetch('IgnoredMethods', [])
end