From: Rich Kilmer Date: 2001-11-17T05:28:35+09:00 Subject: [ruby-talk:25655] RE: newbee: Java -> Ruby module MyInterface ...methods end class MyBase ...methods end class MyMerge < MyBase include MyInterface methods... end In Ruby modules are like Java interfaces but actually carry behavior with them (rather than simply interface definitions). They are much more powerful than simple interfaces... -Rich > -----Original Message----- > From: Uwe Matthaeus [mailto:uwe.matthaeus@rocksolid.de] > Sent: Friday, November 16, 2001 12:50 PM > To: ruby-talk ML; undisclosed-recipients: > Subject: [ruby-talk:25550] newbee: Java -> Ruby > > > Hi > > I have the following code in Java: > > class MyMerge implements MyInterface extends MyBase > { > ..... > } > > How can i do that in ruby ? > Thanks in advance ! > > Bye > Uwe >