# Java/C# "interface" in Ruby?

**URL:** <https://rubytalk.org/t/java-c-interface-in-ruby/20094>\
**Category:** ruby-talk\
**Created:** [11 August 2005 15:07 UTC](https://rubytalk.org/t/java-c-interface-in-ruby/20094 "2005-08-11T15:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michael\_Kelly](https://avatars.discourse-cdn.com/v4/letter/m/f04885/32.png) [@Michael\_Kelly](https://rubytalk.org/u/Michael_Kelly)\
**Post date:** [11 August 2005 15:07 UTC](https://rubytalk.org/t/java-c-interface-in-ruby/20094/1 "2005-08-11T15:07:44Z")

</div>

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
> 
> > **[Eleven: Smart Guest Wi-Fi Management Platform](https://www.elevensoftware.com)**
> >
> > Eleven is a smart guest Wi-Fi management platform that helps companies connect users and devices, manage enterprise networks, and engage customers.
> 
> -----Original Message-----  
> From: Michael Kelly [[mailto:mkelly@elevenwireless.com](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:
> 
> &nbsp;&nbsp;[http://rubydotnet.sourceforge.net/](http://rubydotnet.sourceforge.net/)
> 
> And
> 
> &nbsp;&nbsp;[http://www.saltypickle.com/rubydotnet/](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
> 
> > **[Eleven: Smart Guest Wi-Fi Management Platform](https://www.elevensoftware.com)**
> >
> > Eleven is a smart guest Wi-Fi management platform that helps companies connect users and devices, manage enterprise networks, and engage customers.
> 
> -----Original Message-----  
> From: Peter Fitzgibbons [[mailto:Peter.Fitzgibbons@lakewoodhomes.net](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](mailto:Peter.Fitzgibbons@Lakewoodhomes.net)  
> (847) 884-8800
