From: "andrew delboy" <andrew / cyber.com.au> > On Tue, Nov 26, 2002 at 01:36:26PM +0900, Gavin Sinclair wrote: > > From: "Stephen Neu" <sneu / iblp.org> > > > > > You can also say > > > p "hello" > > > > This differs from #puts calls #to_s on its arguments while #p calls #inspect. > > And print is also an 'inspect' type call? (ie interrogates the string to see > if there are escaped characters?) According to 'ri', #print calls #to_s on non-String arguments. Gavin