Sha256: 6c6c31efdc1a90d08db0caab0440ada8fdc04a7b17f847d1cebaed4262d21cc8
Contents?: true
Size: 393 Bytes
Versions: 5
Compression:
Stored size: 393 Bytes
Contents
# encoding: utf-8 module Rubocop module Cop module Style # Checks for uses of while with a negated condition. class FavorUntilOverNegatedWhile < Cop include NegativeConditional def on_while(node) check(node) end def error_message 'Favor until over while for negative conditions.' end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems