I  wrote:

> If I understand your question correctly:

Well, I probably misunderstood your it the first time around ;-)

Here's probably what you were looking for:

class B < A
   def tata
      toto
   end
end

and then:

b = B.new
b.tata

or:

B.new.tata