Checks for uses of while with a negated condition.
# File lib/rubocop/cop/style/negated_while.rb, line 19 def message(node) if node.type == :while format(MSG, 'until', 'while') else format(MSG, 'while', 'until') end end
Generated with the Darkfish Rdoc Generator 2.