From: Ikpeazu Wokocha Date: 2010-07-22T21:06:59+09:00 Subject: Unsubscribe Unsubscribe Sent from my iPhone On 22 Jul 2010, at 11:04, Jesús Gabriel y Galán wrote: > n Thu, Jul 22, 2010 at 10:59 AM, Amir Ebrahimifard wrote: >> Hi everybody >> I have two question : >> 1 - What is the exact meaning of Literals in Ruby ? > > http://ruby-doc.org/docs/ProgrammingRuby/html/language.html > > Take a look at the section: The Basic Types. > >> 2 - What is the use of "puts" in Ruby and what is diffrence between >> "puts" and "print" ? > > As Josh says it's easy to try and see: > > puts "a" > puts "b" > print "a" > print "b" > > Or also, you can read the explanation here: > > puts: http://ruby-doc.org/core/classes/IO.html#M002252 > print: http://ruby-doc.org/core/classes/Kernel.html#M005952 > > Jesus. >