From: Hidetoshi NAGAI Date: 2010-06-17T08:18:35+09:00 Subject: Re: Input/Output to IRB using Pipes From: Martin DeMello Subject: Re: Input/Output to IRB using Pipes Date: Thu, 17 Jun 2010 01:24:48 +0900 Message-ID: > > I have a situation where I need to create a pipe into which I load ruby/irb > > commands. > > Then I have to direct input from this pipe to IRB (Interactive Ruby) . > > Also I will have an output pipe to which the irb results/output are > > redirected to. > > > > Thus I am changing the STDIN/STDOUT of IRB to Input/Output to/from pipe. > > Check out my guirb project: http://github.com/martindemello/guirb Are 'irbtkw.rbw' and 'tktextio.rb' useful? Those exist on "ext/tk/sample" directory of Ruby's source tree. -- Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)