2006-03-21 0と"" Rubyでは、0も""も真偽値の「真」になります。 p !!0 #=> true p !!"" #=> true (warning: string literal in condition)