Hi boni,
Ruby has an option called the "Super-Class" i think thatz what u want.
This is how it goz,
class foo
def x
-----
print " I am Boni"
-----
end
end
>>nil
class uday<foo
def x
super
-----
print " I am Uday"
-----
end
end
>> nil
uday.new.x
>> I am Boni
>> I am Uday
Sathya Shankar
boni uday wrote:
Is RUBY Supports Multiple Inhertiance ?
I want to herit more than one class
Pls hel me
Uday
------------------------------------------------------------------------
How much free photo storage do you get? Store your friends n family
photos for FREE with Yahoo! Photos.
http://in.photos.yahoo.com
------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general