module RuboCop::Cop::AllowedMethods
def allowed_method?(name)
- Api: - public
def allowed_method?(name) allowed_methods.include?(name.to_s) end
def allowed_methods
- Api: - public
def allowed_methods cop_config.fetch('AllowedMethods', []) end
def allowed_method?(name) allowed_methods.include?(name.to_s) end
def allowed_methods cop_config.fetch('AllowedMethods', []) end