From: Caleb Clausen Date: 2006-03-21T10:20:27+09:00 Subject: Re: Suppressing printing of evaluated expressions in irb On 3/20/06, Michael Hartl wrote: > I've looked all over, but I can't figure out how to suppress the > printing of evaluated expressions in irb. Ordinarily, this is no > problem: > > irb(main):001:0> a = [] > => [] > > But what if the thing returned is huge? > > irb(main):001:0> b = function_returning_something_huge > If you want to suppress printing for just one line, try appending ';0' to the end of the command: irb(main):001:0> b = function_returning_something_huge;0 => 0