on (j)irb prompt, do IRB.CurrentContext.echo = false.  This will turn off
echoing for you.

On 9/24/07, Ricardo Trindade <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>     Is there a way to persuade irb to use to_s to print objects in the
> console instead of inspect ?
>
>     We're working with some objects that have thousands of other objects
> inside them, so evaluating them on jirb takes minutes, because of the
> time it takes to print.
>
> thanks,
> Ricardo
>
> _______________________________________________
> Jruby-extras-devel mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/jruby-extras-devel
>
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to