Subject: Verbosity of p
From: Johny Why <johnywhy gmail.com>
Date: Sun, 5 Dec 2010 11:55:57 +0900
hello
why does:
puts "Inspect:#{p(myDog)}"
give LESS verbose results than:
p(myDog)
?
is it that p returns an array, and puts only prints the first element of
arrays?
thanks
--
Posted via http://www.ruby-forum.com/.