Re: [Ironruby-core] Lowercase classname

2010-11-20 Thread Tinco Andringa
http://code.google.com/p/bwapi-mono-bridge/ here it is :) Thanks On Sat, Nov 20, 2010 at 11:53 PM, Tomas Matousek wrote: > Can you send a link to the assembly that defines the class you are trying to > use? > > Tomas > > -Original Message- > From: ironruby-core-boun...@rubyforge.org > [m

Re: [Ironruby-core] Lowercase classname

2010-11-20 Thread Tinco Andringa
Okey, I just tried it myself on those assemblies, and now I find it actually does work :D Sorry guys :) I was thrown off by the error that is thrown when the constant with the lower case name doesn't exist. I failed at first because I tried Object.const_get('bwapi') instead of BWAPI.const_get('bwap

Re: [Ironruby-core] Lowercase classname

2010-11-20 Thread Tomas Matousek
Can you send a link to the assembly that defines the class you are trying to use? Tomas -Original Message- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Tinco Andringa Sent: Saturday, November 20, 2010 2:27 PM To: ironruby-core Subje

Re: [Ironruby-core] Lowercase classname

2010-11-20 Thread Tinco Andringa
Hey guys.. it's very nice that you all say the same thing, but it doesn't work in IronRuby 1.1.1: >>> Object.const_get "foo" (ir):1:in `const_get': `foo' is not allowed as a constant name (NameError) from (ir):1 If this would've worked then I wouldn't have had to ask the question in the f