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
Base
- Inherited
Instance Attribute Summary
- #always_run? ⇒ Boolean readonly Internal use only
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
Base
- Inherited
#==, #control_node, #each_ancestor, | |
#eql? | Alias for Base#==. |
#exclusive_with?, #hash, #parent, #scan_ancestors |
Instance Attribute Details
#always_run? ⇒ Boolean
(readonly)
# File 'lib/rubocop/cop/variable_force/branch.rb', line 304
def always_run? false end