123456789_123456789_123456789_123456789_123456789_

Module: RuboCop::Cop::VariableForce::Branch::SimpleConditional Private

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/rubocop/cop/variable_force/branch.rb

Overview

Mix-in module for simple conditional control structures.

Instance Attribute Summary

Instance Attribute Details

#always_run?Boolean (readonly)

[ GitHub ]

  
# File 'lib/rubocop/cop/variable_force/branch.rb', line 150

def always_run?
  conditional_clause?
end

#conditional_clause?Boolean (readonly)

Raises:

  • (NotImplementedError)
[ GitHub ]

  
# File 'lib/rubocop/cop/variable_force/branch.rb', line 146

def conditional_clause?
  raise NotImplementedError
end