From: 7stud -- Date: 2011-04-29T08:50:49+09:00 Subject: Re: Is everything object ? Chad Perrin wrote in post #995626: > On Fri, Apr 29, 2011 at 01:54:20AM +0900, 7stud -- wrote: >> amir e. wrote in post #995492: >> > >> > A very important principle in Ruby is that every thing is object. >> >> I have never found that claim to be important in any language. >> Whether everything is an object or just most things doesn't make a bit >> of difference in writing programs. Now if you were selected to be on a >> Ruby Trivia Show, and you can win thousands of $$$, then it would be >> helpful to know. > > It seems pretty unimportant until I try to interact with something as an > object and it turns out it *isn't* an object. Do you have a real world example of that? Perhaps: (1, 2, 3).send(:ancestors) -- Posted via http://www.ruby-forum.com/.