class A
public
def qqq()
puts "B"
end
end
class B < A
public
def qqq()
puts "BB"
end
def www()
# Как отсюда вызвать A::qqq ?
a = A.new
a.qqq()
end
end
b = B.new
b.www()
#выведет: B
--
Alexey Gladkov (Legion)
E-MAIL: lexa at mai.ru