Module: RuboCop::Cop::VariableForce::Branch::LogicalOperator Private

Included in:
And, Or
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 logical operator control structures.

Instance Method Summary collapse

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.

Returns:

  • (Boolean)


259
260
261
# File 'lib/rubocop/cop/variable_force/branch.rb', line 259

def always_run?
  left_body?
end