From: Surendra Singhi Date: 2006-09-13T03:11:01+09:00 Subject: inheritance and super function hello, Say I have the following Ruby code. Class A def test puts "I am A" end end Class B < A def test puts "I am B" end end Class C < B def test puts "I am C" end end Now, in the function test in Class C, I want to call the test method defined in class A, by passing B's test method. How can I do this, just using plain 'super' doesn't work? Is it possible to do this? Either way, please help Thanks in advance, -- Surendra Singhi http://ssinghi.kreeti.com, http://www.kreeti.com Read my blog at: http://cuttingtheredtape.blogspot.com/ ,---- | Great wits are sure to madness near allied, | And thin partitions do their bounds divide. | | (John Dryden, Absalom and Achitophel, 1681) `----