Discussion: Using irb as a REPL
Afficher un message
Vieux 20/11/2007, 03h26   #4
S. Robert James
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Using irb as a REPL

On Nov 19, 9:07 pm, Cameron McBride <cameron.mcbr...@gmail.com> wrote:
>
> hmmm, I've also had some problems trying to add a command interface to
> some code. I found trying to bend IRB to fit the needs seems to be
> trickier than just coding up a solution in readline directly. Is that
> really the best solution?
>
> Cameron


Then you miss out on the full power of Ruby in your interface!
The beauty of using a REPL or IRB is that you have an easy command
line interface, with automatic scripting when you need it, expandable
to the full power of the host language as needed.
  Réponse avec citation
 
Page generated in 0,06030 seconds with 9 queries