Parent

Files

Class/Module Index [+]

Quicksearch

RuboCop::Cop::Lint::UselessElseWithoutRescue

This cop checks for useless `else` in `begin..end` without `rescue`.

@example

begin
  do_something
else
  handle_errors # This will never be run.
end

Constants

MSG

[Validate]

Generated with the Darkfish Rdoc Generator 2.