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

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 CharRemaining

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 g

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) => # 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 Testing; end; > => nil

[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] New blog

2008-06-14 Thread Ben Hall
Great to see a tester blogging! Really looking forward to hearing about what your doing and how your testing IronRuby :) Ben Blog.BenHall.me.uk On Sat, Jun 14, 2008 at 7:39 AM, Jim Deville <[EMAIL PROTECTED]> wrote: > I've started up a blog at http://blog.jredville.com. And John, once I set up

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 => # >>> On Sat, Jun 14, 2008 at 7:42 PM, Ivan Porto Carrero <[EMAIL PROTECTED]> wrote: > I'm sure i tried tha

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

2008-06-14 Thread Ivan Porto Carrero
I'm sure i tried that, but then again I tried many things. and I'm sure I've used that before too when I was playing with LightSpeed... Thanks On Sat, Jun 14, 2008 at 7:20 PM, Tomas Matousek < [EMAIL PROTECTED]> wrote: > >>> require 'mscorlib' > > => true > > >>> System::String.to_clr_type > > =

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

2008-06-14 Thread Tomas Matousek
>>> require 'mscorlib' => true >>> System::String.to_clr_type => # Tomas From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Porto Carrero Sent: Friday, June 13, 2008 11:13 PM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] How to get to the CLR type I hit send to q