Prev: Rubyzip - `dup': can't dup NilClass (TypeError)
Next: Win32::Screenshot (old name win32screenshot) 0.0.4
From: Kaye Ng on 8 Jun 2010 02:30 Difference between puts and print, please? Thanks much! -- Posted via http://www.ruby-forum.com/.
From: Ben Bleything on 8 Jun 2010 02:39 On Jun 7, 2010, at 11:30 PM, Kaye Ng <sbstn26(a)yahoo.com> wrote: > Difference between puts and print, please? Thanks much! Briefly, puts adds a newline at the end but print does not. Try them both, the difference should be clear. Ben
From: Rein Henrichs on 8 Jun 2010 03:30
On 2010-06-07 23:30:40 -0700, Kaye Ng said: > Difference between puts and print, please? Thanks much! All of these questions (and more) can be answered by reading this excellent (and free) guide: http://ruby-doc.org/docs/ProgrammingRuby/ -- Rein Henrichs http://puppetlabs.com http://reinh.com |