if s then puts "not empty" end # This code is wrong!