Module: RuboCop::Cop::VariableForce::Branch::SimpleConditional Private
- Defined in:
- lib/rubocop/cop/variable_force/branch.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Mix-in module for simple conditional control structures.
Instance Method Summary collapse
- #always_run? ⇒ Boolean private
- #conditional_clause? ⇒ Boolean private
Instance Method Details
#always_run? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
150 151 152 |
# File 'lib/rubocop/cop/variable_force/branch.rb', line 150 def always_run? conditional_clause? end |
#conditional_clause? ⇒ Boolean
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
146 147 148 |
# File 'lib/rubocop/cop/variable_force/branch.rb', line 146 def conditional_clause? raise NotImplementedError end |