From: Smart RoR Date: 2010-03-23T13:05:31+09:00 Subject: Re: less than sign for inheritance in classes Gary Wright wrote: > On Mar 22, 2010, at 10:07 PM, Smart RoR wrote: >> Where in Ruby is the less than sign for inheritance in classes defined? >> >> class A < B > > I'm not sure if I understand your question, but '<' is just syntax when > used in a class definition. In this context, it is not an operator and > so > there is no method associated with its use in this context. > > Gary Wright Every operator is a method in ruby.... like 1 - 1 = 0 here - is a method. That is my understanding.... -- Posted via http://www.ruby-forum.com/.