Ruby ちょこっとメモ
if true then def hello_true print "HELLO!\n" end end if false then def hello_false print "HELLO!\n" end end hello_true # HELLO! hello_false # エラー
def hello_true print "HELLO!\n" end if true def hello_false print "HELLO!\n" end if false hello_true # HELLO! hello_false # エラー