Tom Pollard wrote:
> Is there a way to prevent irb from printing the result of a
> expression to the terminal on a command-by-command basis?  I'm trying
> to use irb and soap4r to play around with a SOAP server and in many
> cases the results are fairly long arrays; I'd like to be able to
> prevent these from being displayed automatically.  IPython, for
> example, will suppress the output from a command if it's terminated
> with a semicolon (';').  I was hoping for something similar in irb.

For me, with irb 0.9.5(05/04/13) and ruby 1.8.5 (2006-08-25)
[i386-cygwin], a trailing semicolon _does_ suppress printing the result.