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)


246
247
248
# File 'lib/rubocop/cop/variable_force/branch.rb', line 246

def always_run?
  left_body?
end