class RuboCop::AST::CaseMatchNode

def else?

Returns:
  • (Boolean) - whether the `case` statement has an `else` branch
def else?
  !loc.else.nil?
end