Reduce our surface, extend self is useful for some modules.

We should handle extend self and module_function on a case-by-case basis because there
are times when extend self is useful, especially when you wish a module to be included but also
available on itself.  `module_function` does not allow this.
This commit is contained in:
Jordon Bedwell 2016-01-02 23:58:59 -06:00
parent 519c0f1b38
commit 2a280b7f62
1 changed files with 18 additions and 17 deletions

View File

@ -20,6 +20,7 @@ engines:
Rubocop/Style/RegexpLiteral: { enabled: false }
Rubocop/Style/GuardClause: { enabled: false }
Rubocop/Style/FileName: { enabled: false }
Rubocop/Style/ModuleFunction: { enabled: false }
fixme:
enabled: false
exclude_paths: