IronRuby and modules
I'm a .NET developer and a ruby n00b.
I'm experimenting with doing Silverlight/IronRuby development in RubyMine.
RubyMine doesn't know what to do with some of the .NET modules, for example:
include System::Windows
include System::Windows::Controls
Where can I learn about how RubyMine goes about interpreting includes and searching for modules?
Please sign in to leave a comment.
Hello bennage,
What is content of a whole ruby file? Are System::Windows modules available without any requires?
Actually RubyMine uses stub files for Ruby core library (this stubs were generated using C sources). These files can be found rubystubs folder of RubyMine.
Most likely is that IronRuby has extended core library thus RubyMine isn't aware of it.
Regards,
Oleg
There are no requires in the file and I believe you are correct about IronRuby extending the core library.
I'll take a look at the stubs, I suspect that I'll be able to generate the stubs I need.
I'll report back here.