tags:

views:

33

answers:

1

In Ruby main, you can embed IRB inside of a Ruby script as described here. Is there a way to do something similar with IIRB inside an IronRuby script?

+1  A: 

http://wiki.github.com/ironruby/ironruby/debugging might be useful to you ("repl binding" is the same as the one above, I believe, and is what I use).

rogerdpack
We're using that exact `repl(binding)` class right now, but we want to drop into actual IIRB for a few reasons, mainly multiline support. Thanks for your response, though!
kerkeslager
the code you mention should work in ironruby then--does it not?
rogerdpack
It doesn't quite work in IronRuby because it makes use of the Ruby IRB class, but we couldn't find an equivalent IIRB class.
kerkeslager
seems to work fine here: http://gist.github.com/568628 what IIRB class are you referring to?
rogerdpack