I've experimented with some if/else statements: if 0 print "a" elsif 1 print "b" else print "c" end This code prints out "a". Does 0 not false in Ruby?
確定! 回上一頁