[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ruby-talk
Subject:    Re: Newbie needs help getting user input
From:       Sebastian Hungerecker <sepp2k () googlemail ! com>
Date:       2007-09-30 16:26:21
Message-ID: 200709301825.25408.sepp00 () web ! de
[Download RAW message or body]

Peter Vanderhaden wrote:
> What's the difference between using file.puts & file.print?

puts adds a newline at the end (if the string doesn't already end with a 
newline).

HTH,
Sebastian
-- 
Jabber: sepp2k@jabber.org
ICQ: 205544826

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic