else
case
示例:
# 不良做法 case status when :active perform_action end
# 优良做法 case status when :active perform_action else # 此处键入代码 end
受 'Roodi' 启发