Common functionality for checking instance methods and singeton methods.
# File lib/rubocop/cop/mixin/check_methods.rb, line 6 def on_def(node) method_name, args, body = *node check(node, method_name, args, body) end
# File lib/rubocop/cop/mixin/check_methods.rb, line 11 def on_defs(node) _scope, method_name, args, body = *node check(node, method_name, args, body) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.