From: Chris White Date: 2011-08-10T01:56:32+09:00 Subject: Re: Inspect method On Aug 9, 2011, at 9:49 AM, amir e. wrote: > Hi > I want to know exactly what does inspect method do ? > and What does happened , if we don't use inspect ? > thanks > > -- > Posted via http://www.ruby-forum.com/. > It depends (inspect can be overridden), but in general the to_s method of the object is called. See more information here: http://ruby-doc.org/core/classes/Object.html#M001025 Regards, Chris White http://twitter.com/cwgem