Remove Double negation check
xredo opened this issue · comments
http://www.rubydoc.info/github/bbatsov/rubocop/Rubocop/Cop/Style/DoubleNegation
The solution suggested to avoid the double negation is not robust enough. Examples like !false.nil?
would fail for example.
agree, I like the "bang bang" pattern.
@davidgg I have closed it with a commit. Thanks for the notice! 👍