RuboCop::Cop
This cop checks for uses of the class/module name instead of self, when defining class/module methods.
# File lib/rubocop/cop/style/class_methods.rb, line 10 def on_class(node) _name, _superclass, body = *node check(body) end
# File lib/rubocop/cop/style/class_methods.rb, line 15 def on_module(node) _name, body = *node check(body) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.