From: Sebastian Hungerecker Date: 2007-12-14T05:02:24+09:00 Subject: Re: Using print and puts for output John Maclean wrote: > what's the difference bewteen [print and puts]? puts adds a newline at the end if there isn't one already. print doesn't. > Also how can I find out for myself with ri? ri IO.print > << is that it? ri IO.puts << is that it? Actually it's Kernel#print and Kernel#puts, but those just call IO#print and IO#puts on stdout (I assume). HTH, Sebastian -- NP: Moonsorrow - Kuin Ikuinen Jabber: sepp2k@jabber.org ICQ: 205544826