Hy all,

I'm trying to use a 3rd party library into my app via IronRuby
Unfortunately the root namespace of this library is lower case and I believe
this cause some problem
This is the sample code I wish to run

require "devDept.EyeshotUltimate"
include devDept::Geometry
o = Point3D.Origin
puts o.x
puts o.y
puts o.z

but the second line throws the exception
undefined method `devDept' for main:Object (NoMethodError)

I think I know why this append (http://ironruby.net/Documentation/.NET/Names
)
"CLR namespaces and interfaces must be capitalized as they are mapped onto
Ruby modules"

Since I can't modify the 3rd party library is there a way to avoid this
error ?
Many thanks
claudio

-- 
Claudio Maccari
--------------------------------
http://testdrivendevelopment.wordpress.com/
http://twitter.com/scott4dev
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to