Parent

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Lint::Loop

This cop checks for uses of *begin...end while/until something*.

Constants

MSG

Public Instance Methods

on_until_post(node) click to toggle source
# File lib/rubocop/cop/lint/loop.rb, line 14
def on_until_post(node)
  register_offense(node)
end
on_while_post(node) click to toggle source
# File lib/rubocop/cop/lint/loop.rb, line 10
def on_while_post(node)
  register_offense(node)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.