From: Albert Schlef Date: 2010-03-23T13:13:08+09:00 Subject: Re: less than sign for inheritance in classes Smart RoR wrote: > Every operator is a method in ruby.... > > like 1 - 1 = 0 here - is a method. > > That is my understanding.... And is the "=" too a method? Can you redefine it? > Where in Ruby is the less than sign for inheritance > in classes defined? If you want to find out if somebody is inheriting your class, implement 'MyClass.inherited' (it's a hook). -- Posted via http://www.ruby-forum.com/.