Sha256: 6f127288dc2cb6576abc87c67151ddb045ec862fa3f0e9c97886fc4393630130
Contents?: true
Size: 414 Bytes
Versions: 8
Compression:
Stored size: 414 Bytes
Contents
# encoding: utf-8 module Rubocop module Cop # Common functionality for checking instance methods and singeton methods. module CheckMethods def on_def(node) method_name, args, body = *node check(node, method_name, args, body) end def on_defs(node) _scope, method_name, args, body = *node check(node, method_name, args, body) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems