On Mon, Oct 4, 2010 at 12:20 PM, Brian Candler <b.candler / pobox.com> wrote:
> Don Norcott wrote:
>> require 'hpricot'
>> url = "http://www....."
>> doc = Hpricot.XML(open(url))
>>
>> In interactive ruby can I suppress the output produced by
>>  Hpricot.XML(open(url))
>>
>> is this the stdout stream or is it something else?
>

You can set the ECHO configuration off:

IRB.conf[:ECHO] = false

HTH,
Ammar