From: Dimitri Aivaliotis Date: 2005-01-15T07:10:24+09:00 Subject: Re: Irb and Ruby Separation On Sat, 15 Jan 2005 06:36:06 +0900, Nikolai Weibull wrote: > * Nicholas Van Weerdenburg (Jan 14, 2005 22:20): > > I guess my question might be better phrased "why doesn't running the > > ruby interpreter with no input not default to interactive mode (irb) > > such as with the python interpreter". > > It interprets stdin instead. irb is a completely separate project from > bin/ruby. It's much the same as the shell is separate from the kernel; > an idea that seems to have been foregone by the Python developers. > nikolai > Cool: [shell prompt] ruby puts "Hello, world!" ^D Hello, world! [shell prompt] So, in effect it does essentially what's needed - just no shell-like interface, or any of the other benefits of irb. - Dimitri