Forum: IronRuby Basic interoperability question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F0f461459193aa098a80bd3e74e0ac9c?d=identicon&s=25 Shay Friedman (shayfriedman)
on 2009-06-07 18:45
Hi,

I would like to know why interoperability is such a long word?

just kidding!

I'm playing with the CLR interoperability and I have some questions:
1. Is "require 'mscorlib'" really essential?
2. Should investigating Clr objects work?
For example, this is what happens now:
>>> System::Data::DataSet.instance_methods - Class.methods
=> []

Only after I create a dataset object and access, for instance, the
tables property, the "tables" method is added to the instance_methods
list.

Many thanks!
Shay.

----------------------------
http://www.ironshay.com
Follow me: http://twitter.com/ironshay
This topic is locked and can not be replied to.