From: Gary Weaver Date: 2012-10-18T07:20:13+09:00 Subject: Re: autolog: shortcut for set_trace_func to debug ruby via console output, etc. Robert Klemme wrote in post #1080211: > On Wed, Oct 17, 2012 at 8:35 PM, Gary Weaver > wrote: > >> Around some part of code add this before: >> Autolog.methods >> and this after: >> Autolog.off > > I'd prefer using a block for robustness. > > autolog do > ... > end > > Kind regards > > robert Done. Added in v0.1.0 and available now in rubygems.org. Added method to main object and Object. Sound ok? Old syntax still works, too. -- Posted via http://www.ruby-forum.com/.