IRB actually doesn’t show the time by default, it shows what “self” is,
along with the line number and nested line number. Also, ir.exe’s REPL
does not set the TOPLEVEL_BINDING constant, though running a file or a
snippet with ir.exe does:
can be nested (you can start a new irb session from within irb, even
giving it a new target object to use as self)
as a library, irb can be incorporated into other projects
Irb is the REPL for MRI, it just happens that the current design of the
DLR gives a REPL pretty easily, so ir.exe is also a REPL.
JD
From: Shay F. [email protected]
Sent: October 09, 2009 1:54 AM
To: [email protected][email protected]
Subject: [Ironruby-core] What is the difference between ir and iirb?
When no arguments are passed, they both start a REPL console only that
iirb shows the time of each operation. Are there more differences?
Thanks,
Shay.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.