Closed scalp42 closed 4 years ago
See also https://github.com/rubocop-hq/ruby-style-guide/issues/556, I'm assuming cookstyle inherits from rubocop.
This actually came up internally. We definitely need to disable this one. Rubocop treats them the same and they are not.
Here's the Cookstyle PR to fix this: https://github.com/chef/cookstyle/pull/517
Fix for #545 (
extend self
keeps the instance methods public, butmodule_function
makes them private.)cc @tas50