P25 if文

a = 10
b = 20
if a == 10 && b >= 15
  print "big"
elsif a >= 10
  print "too big"
else
  print "small"
end 

たのしいRuby 第5版

たのしいRuby 第5版