Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Tomas Matousek
[email protected] [mailto:[email protected]] On Behalf Of Shri Borde Sent: Sunday, October 11, 2009 12:44 PM To: [email protected] Subject: Re: [Ironruby-core] IronRuby C# Extensions Tomas, assuming you wanted your library to be C# code only for whatever re

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Ivan Porto Carrero
. >> >> ~js >> -- >> *From:* [email protected] [ >> [email protected]] on behalf of Shri Borde [ >> [email protected]] >> *Sent:* Sunday, October 11, 2009 12:44 PM >> >>

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
[email protected]] on behalf of Shri Borde [ > [email protected]] > *Sent:* Sunday, October 11, 2009 12:44 PM > > *To:* [email protected] > *Subject:* Re: [Ironruby-core] IronRuby C# Extensions > > Tomas, assuming you wanted your library to be C# code only for whatev

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Jimmy Schementi
e.org] on behalf of Shri Borde [[email protected]] Sent: Sunday, October 11, 2009 12:44 PM To: [email protected] Subject: Re: [Ironruby-core] IronRuby C# Extensions Tomas, assuming you wanted your library to be C# code only for whatever reason, wouldn’t you need t

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shri Borde
Of Tomas Matousek Sent: Sunday, October 11, 2009 11:48 AM To: [email protected] Subject: Re: [Ironruby-core] IronRuby C# Extensions Ideally Reflection would be fast and we wouldn't need any workarounds to load built-ins fast. But that's not the case, so we use initializers

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Tomas Matousek
omas From: [email protected] [mailto:[email protected]] On Behalf Of Shay Friedman Sent: Sunday, October 11, 2009 10:26 AM To: [email protected] Subject: Re: [Ironruby-core] IronRuby C# Extensions By the way, if we're at the subject... Ivan does ha

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
rgument in the load_assembly method >>>>> for >>>>> example) >>>>> Currently, the library initializer makes the whole thing much more >>>>> complicated... >>>>> >>>>> Thanks, >>>>> Shay. >&g

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
the whole thing much more >>>> complicated... >>>> >>>> Thanks, >>>> Shay. >>>> >>>> >>>> On Sun, Oct 11, 2009 at 6:27 PM, Tomas Matousek < >>>> [email protected]> wrote: >>>>

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Ivan Porto Carrero
t;>>> >>>> Tomas >>>> >>>> -Original Message- >>>> From: [email protected] [mailto: >>>> [email protected]] On Behalf Of Shay Friedman >>>> Sent: Sunday,

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
sically to avoid reflection when loading the classes and modules. >>> >>> Tomas >>> >>> -Original Message- >>> From: [email protected] [mailto: >>> [email protected]] On Behalf Of Shay Friedman >&g

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Ivan Porto Carrero
lasses and modules. >> >> Tomas >> >> -Original Message- >> From: [email protected] [mailto: >> [email protected]] On Behalf Of Shay Friedman >> Sent: Sunday, October 11, 2009 9:14 AM >> To: ironruby-core

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
man > Sent: Sunday, October 11, 2009 9:14 AM > To: [email protected] > Subject: Re: [Ironruby-core] IronRuby C# Extensions > > I found out I needed an initializer... > > I have a question - why do we need initializers if we define everything on > the attributes? &g

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Tomas Matousek
: Re: [Ironruby-core] IronRuby C# Extensions I found out I needed an initializer... I have a question - why do we need initializers if we define everything on the attributes? Thanks, Shay. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core

Re: [Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
I found out I needed an initializer... I have a question - why do we need initializers if we define everything on the attributes? Thanks, Shay. -- Posted via http://www.ruby-forum.com/. ___ Ironruby-core mailing list [email protected] http:/

[Ironruby-core] IronRuby C# Extensions

2009-10-11 Thread Shay Friedman
Hi, I'm trying to create an IronRuby C# extensions and I just can't get it to work. Is there anything special I should do? This is what I do: 1. Create a class library (.Net 2.0) 2. Create a class and use the RubyModule attribute on it with a name. Then I set some classes and consts inside and de