From: "Jesús Gabriel y Galán" Date: 2010-07-22T19:04:40+09:00 Subject: Re: Two Question 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.