From: Quintus Date: 2011-01-05T18:35:29+09:00 Subject: Re: ripl - an irb alternative - 0.3.0 released Am 05.01.2011 08:37, schrieb Martin DeMello: > > Give my guirb project a look: https://github.com/martindemello/guirb > > Right now there are tk and fox backends, I'm planning on adding gtk > and qt support, and would be happy to accept contributed modules for > other gui toolkits, subject to their installing painlessly on ruby 1.9 > > martin > I will have a look at it, definitely. I'm working mostly with wxRuby, but that shouldn't prevent me from trying it out. > Check out the plugin ripl-play, http://github.com/cldwalker/ripl-play. > It can read from stdin, a file or a url. It can also record a ripl > session to be played back later. > > Feel free to contact me or open a github issue if you need help making > a ripl plugin, > Gabriel I will look into this as well (but for debugging my GUI I'll need to pass the correct binding). Both sound good at the very beginning, let's see how it evolves. > Luckily with it only being ~270 lines long, you can easily find what > you're looking for: > > > # When extending this method, ensure your plugin disables readline: > > # Readline.config[:readline] = false. > > # @return [String, nil] Prints #prompt and returns input given by user > > def get_input > > print prompt > > $stdin.gets.chomp > > end Seems to be easy then. Thanks to eveyone! Valete, Marvin