那我們可以將if放到第一行,省去end,變成: puts 'big' if a > 10 ... if a > 10 then puts 'big' else puts 'small' end ... 聰明的我們,可以將以上的用法縮寫為:
確定! 回上一頁