Re: Understanding Ruby Classes, Objects and Methods.

2013-03-14 Thread Robert Klemme
On Thu, Mar 14, 2013 at 4:07 PM, Kedar Mhaswade wrote: > Robert Klemme wrote in post #1101612: >> On Thu, Mar 14, 2013 at 3:14 PM, Kedar Mhaswade >> wrote: >>> Robert Klemme wrote in post #1101602: On Thu, Mar 14, 2013 at 2:42 PM, Kedar Mhaswade wrote: >> >>> module Mod, Anonclass is

Re: Understanding Ruby Classes, Objects and Methods.

2013-03-14 Thread Robert Klemme
On Thu, Mar 14, 2013 at 3:14 PM, Kedar Mhaswade wrote: > Robert Klemme wrote in post #1101602: >> On Thu, Mar 14, 2013 at 2:42 PM, Kedar Mhaswade >> wrote: >> The information may be right or outdated but it does not necessarily >> help users of the language to understand how Ruby works. > > My o

Re: Understanding Ruby Classes, Objects and Methods.

2013-03-14 Thread Robert Klemme
On Thu, Mar 14, 2013 at 2:42 PM, Kedar Mhaswade wrote: abc is an instance of String This is not true. Said expression is a constructor of a String which will return a different String instance on every evaluation. >>> >>> I don't find that statement in the doc. I only have: >>> >>>

Re: Understanding Ruby Classes, Objects and Methods.

2013-03-14 Thread Robert Klemme
On Thu, Mar 14, 2013 at 1:57 PM, Kedar Mhaswade wrote: > Thanks, Robert! You're welcome! >> abc is an instance of String >> This is not true. Said expression is a constructor of a String which >> will return a different String instance on every evaluation. > > I don't find that statement in the

Re: Understanding Ruby Classes, Objects and Methods.

2013-03-14 Thread Robert Klemme
On Wed, Mar 13, 2013 at 11:20 PM, Kedar Mhaswade wrote: > Dear Rubyists, > > I recently wrote a document about Ruby's classes, objects and methods. > The goal was to find out whether I understand them right and whether I > can explain it simply enough in writing. > > It is available on the Google