Class: RuboCop::Cop::VariableForce::Branch::CaseMatch Private
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base ,
Struct
|
|
Instance Chain:
self,
Base ,
Struct
|
|
Inherits: |
RuboCop::Cop::VariableForce::Branch::Base
|
Defined in: | lib/rubocop/cop/variable_force/branch.rb |
Overview
case target in pattern # in_pattern else else_body end
Class Method Summary
Base
- Inherited
Instance Attribute Summary
- #always_run? ⇒ Boolean readonly Internal use only
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 239
def always_run? target? end