[Ironruby-core] How to Refer to the Classes in my Custom DLL

Mohammad Azam lists at ruby-forum.com
Mon Jul 6 12:28:19 EDT 2009


Hi,

I have a class library in C# called "BusinessObjects" and I want to
refer to that DLL using IronRuby.

I typed:

require 'BusinessObjects'
true

include BusinessObjects


>>> include BusinessObjects
C:\ironruby\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtin
s\ModuleOps.cs:793:in `const_missing': uninitialized constant
Object::BusinessOb
jects (NameError)
        from :0

I want to refer to a Customer class inside the BusinessObjects library.
-- 
Posted via http://www.ruby-forum.com/.


More information about the Ironruby-core mailing list