On Thu, Dec 23, 2010 at 00:22, Karan Rajput <ganeshgirase / gmail.com> wrote:

> 1. Is it possible for getOldAge method from base class to call its own
> class method age? Means which returns 18, not 19. In base class, i
> should have control for accessing only my class method regardless of
> overriding existing class by some else class.

looks awkward but possible

# in class Base
def getOldAge
   Base.instance_method(:age).bind(self).call
end

-- 
OZAWA Sakuro

"I think we can agree, the past is over." - George W. Bush