Ah, reading other responses I see that you are'nt looking to interface
between Ruby and C#, you want to create a type without an
implementation. Gotcha.
No, nothing like that in Ruby. You can create a Ruby class with method
definitions that have no implementation, then provide implementations in
classes that derive from it, but that would be a little odd in Ruby.
It's the sort of thing you do in staticly typed languages to get
polymorphism. IMHO, this just doesn't make sense in Ruby.
-=michael=-
ยทยทยท
--
Michael Kelly
Sr. Software Engineer
Eleven Wireless Inc. - The Possibilities are Wireless
-----Original Message-----
From: Michael Kelly [mailto:mkelly@elevenwireless.com]
Sent: Thursday, August 11, 2005 7:55 AM
To: ruby-talk ML
Subject: Re: Java/C# "interface" in Ruby ?
Not positive what you mean by the "Java/C# 'interface'", but perhaps
this is what you're looking for:
http://rubydotnet.sourceforge.net/
And
http://www.saltypickle.com/rubydotnet/
We're currently using the saltypickle implementation with good success.
The only lingering issue for us is the lack of support for out
parameters.
-=michael=-
--
Michael Kelly
Sr. Software Engineer
Eleven Wireless Inc. - The Possibilities are Wireless
-----Original Message-----
From: Peter Fitzgibbons [mailto:Peter.Fitzgibbons@lakewoodhomes.net]
Sent: Thursday, August 11, 2005 7:16 AM
To: ruby-talk ML
Subject: Java/C# "interface" in Ruby ?
Hello all,
This is a newbie question.
Is there anything in Ruby that is equivalent to the Java/C# "interface".
Peter J. Fitzgibbons
Applications Manager
Lakewood Homes - "The American Dream Builder"(r)
Peter.Fitzgibbons@Lakewoodhomes.net
(847) 884-8800