Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Ivan Porto Carrero
Oh I see.. When I call .to_clr_type on a type that has only been defined in Ruby it returns nil class Testing; end; = nil Testing.to_clr_type = nil Testing.new.get_type = #System::RuntimeType:0x05c On Sat, Jun 14, 2008 at 7:42 PM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: I'm sure

[Ironruby-core] Mono build trouble

2008-06-14 Thread Sanghyeon Seo
First, thank you for getting the new revision out. SVN r114 introduced a change to context.rb. Instead of using /recurse:*.cs, it now gets the list of C# files to compile from *.csproj files using REXML. Unfortunately, all paths in *.csproj files are Windows paths, and the build fails. Reverting

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Michael Letterle
System::Type.get_type_from_handle System::Type.get_type_handle(Test) = #System::RuntimeType:0x05c On Sat, Jun 14, 2008 at 4:11 AM, Ivan Porto Carrero [EMAIL PROTECTED] wrote: Oh I see.. When I call .to_clr_type on a type that has only been defined in Ruby it returns nil class

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Tomas Matousek
Ruby classes have no CLR type. The type you're getting by this is shared across multiple Ruby classes. Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Letterle Sent: Saturday, June 14, 2008 7:07 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] How to

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Ivan Porto Carrero
Oh ok. So what's the story going to be for XAML then? I wrote an application in WPF but I have to resort to writing quite some bits and pieces in C# because XAML for example don't want to play ball when you create a value converter in ruby not even when defining the interface. class

Re: [Ironruby-core] How to get to the CLR type

2008-06-14 Thread Tomas Matousek
“I think everything will work out fine and I am just too soon for this stuff?” Yes :-) We will definitely support definitions of static classes, but not just yet. For example, it could be that a CLR type is created for a Ruby class that includes a CLR interface at the point the class definition