class RubbyCop::Cop::VariableForce::Case

case target when /pattern/ # when_clause else

else_body

end

Public Instance Methods

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