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

Included in:
And, Or
Defined in:
lib/rubocop/cop/variable_force/branch.rb

Overview

Mix-in module for logical operator control structures.

Instance Method Summary collapse

Instance Method Details

#always_run?Boolean

Returns:

  • (Boolean)


250
251
252
# File 'lib/rubocop/cop/variable_force/branch.rb', line 250

def always_run?
  left_body?
end