Can you give an example of where you need the conversions?

Tomas

From: [email protected] 
[mailto:[email protected]] On Behalf Of Jim Deville
Sent: Saturday, April 03, 2010 11:00 AM
To: [email protected]
Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for 
Mono?


No conversion for Fixnums is needed (Fixnums are ints). Arrays are harder. I 
would take a look at clr_ext in merlin/main/languages/ruby/samples. Inside that 
file is a to_clr_array method

JD

________________________________
From: Ryan Riley <[email protected]>
Sent: Saturday, April 03, 2010 12:13 AM
To: [email protected] <[email protected]>
Subject: Re: [Ironruby-core] Anyone interested in implementing Etc module for 
Mono?
Where is documentation on converting between CLR and Ruby types? I can get 
RubyStrings, but what about Fixnum and Array?

Thanks,

Ryan Riley
_______________________________________________
Ironruby-core mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to