123456789_123456789_123456789_123456789_123456789_

Class: RuboCop::Cop::VariableForce::Branch::Rescue Private

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, Base, Struct
Instance Chain:
self, ExceptionHandler, Base, Struct
Inherits: RuboCop::Cop::VariableForce::Branch::Base
Defined in: lib/rubocop/cop/variable_force/branch.rb

Overview

begin main_body rescue StandardError ⇒ error # rescue_clause else else_body end

Class Method Summary

Instance Attribute Summary

ExceptionHandler - Included

Base - Inherited

#always_run?, #branched?,
#child_node

Abstract base class for branch classes.

#may_jump_to_other_branch?, #may_run_incompletely?,
#scope

Abstract base class for branch classes.

Instance Method Summary

Instance Attribute Details

#always_run?Boolean (readonly)

[ GitHub ]

  
# File 'lib/rubocop/cop/variable_force/branch.rb', line 304

def always_run?
  false
end