From: Robert Dober Date: 2007-04-13T22:26:43+09:00 Subject: RCR debug Hi list this is incredibly simple, but I just wanted to know what you think about it. I really often write the following code puts if $DEBUG I guess you all do that to some extent, James just talked a newbie into it recently ;) The first programmer's virtue of course makes me do some things like def debug *args, &blk return unless $DEBUG end and sometimes on some of my machines I will do something like require 'ilmig/tools/debug' I feel that this might be so common place that a Kernel::debug or whatever other suitable name might be a good idea. I am listening .... ;) Cheers Robert -- You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw