From: Geoff Stanley Date: 2006-05-23T00:25:57+09:00 Subject: Re: IRB'ing within a program Leslie Viljoen wrote: > Breakpoint! Breakpoint! > It's extremely useful. > > http://rubyforge.org/projects/ruby-breakpoint/ > > There's even a gem: ruby-breakpoint > > Les Yeah, I already got breakpoint. I like it. The thing is, it's not what I'm going for. At least, I don't think it is. See, breakpoint actually starts a a new irb session and it uses all the data from the current program. I want a new, clean irb session. Here's actually why I'm looking to do this. Someone might remember I made a thread before about extending methods for a plugin system. That was for an IRC client I'm making. So is this. I'm looking to create an IRB plugin that will take input from a line such as "/irb foo = 5", send it to an irb session that is completely removed from the irc client, then output the result. In terms of a GUI, I'm thinking of having a separate pane to the side for the irb session. Perhaps that pane will have it's own textfield for direct input into the irb session. Perhaps not. Even if it does, it still needs to be able to take input from an external source (the input textfield) and send its output to an external place (the output textbox). Thanks again -- Posted via http://www.ruby-forum.com/.