Hi Amir,

2011/4/28 amir e. <aef1370 / gmail.com>:
> Hi
> A very important principle in Ruby is that every thing is object.
> I read somewhere that there is no primitive operation in Ruby in
> traditional form and every operation is class.
> Now if every thing is object , then why  + , - , * , ^ , ^^  isn't
> class Although they are primitive operation ?

Methods always belong to a class in Ruby, but they are NOT objects (I
hope this will change some day, maybe Ruby 2.0?). You can make
method-like objects (procs or lambdas), though.

-- 
Roger Braun
rbraun.net | humoralpathologie.de