class RuboCop::Cop::VariableForce::Case

case target when /pattern/ # when_clause else

else_body

end

Public Instance Methods

always_run?() click to toggle source
# File lib/rubocop/cop/variable_force/branch.rb, line 224
def always_run?
  target?
end