Ruby的case語法

switch/case syntaxes(remember: Ruby uses "case" and "when"where others use "switch" and "case"):# Basically if/elsif/else (notice there's nothing# after the word "case"):[variable = ] casewhen bool_co
相關文章
相關標籤/搜索