Can you describe your scenario where you use the command line? What features 
you need? It's relatively easy to implement a command line yourself (see e.g. 
http://blog.tomasm.net/2009/04/15/python-says-hello-to-ruby/). The APIs in 
Microsoft.Hosting.Shell are mostly legacy and I wouldn't recommend using them.

Tomas

-----Original Message-----
From: ironruby-core-boun...@rubyforge.org 
[mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of Ray Linn
Sent: Thursday, May 13, 2010 6:23 AM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] How to transfer scriptscrope to a RubyCommandLine

I found Ironruby 1.0 change a lot for some APIs, at previous version

I can create a rubycommandline via C# like this

IronRuby.Hosting.RubyCommandLine rubycommandline = new RubyCommandLine(new 
IronRuby.Runtime.RubyContext(ScriptDomainManager.CurrentManager));

but now the construction accept zero parameters, so How transfer a scriptscope 
to RubyCommandLine..?

I used debug to verbose the instance of RubyCommandLine, its scriptscope is 
always null!
--
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to