Sebastian Hungerecker
12/13/2007 8:02:00 PM
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