From: Ryan Davis Date: 2010-10-04T12:43:15+09:00 Subject: Re: How to suppress display of specific code in irb?? On Oct 3, 2010, at 19:33 , Don Norcott wrote: > In interactive ruby can I suppress the output produced by > Hpricot.XML(open(url)) You can also add this to your .irbrc: def toggle_output IRB.conf[:MAIN_CONTEXT].echo = ! IRB.conf[:MAIN_CONTEXT].echo end