From: Robert Dober Date: 2008-06-26T17:33:22+09:00 Subject: Re: Is it ellegant to use a global variable to store a Logger object? On Wed, Jun 25, 2008 at 6:55 PM, Robert Klemme wrote: > 2008/6/25 Robert Dober : >> Maybe I shall answer Robert's question at the same time ;) >> >> 41. A logging mixin > > That's a classical bug: off by one. :-) I fail to understand Robert, look at this IRB session, as you see I have prepared for your mail ;) irb(main):009:0> 41.succ => 43 irb(main):010:0> 43.pred => 41 irb(main):023:0> 42.class => TheAnswerToTheMeaningOfLiveTheUniverseAndEverything irb(main):024:0> 43.class => Fixnum And what do you say now about the "Mannschaft" ;) They too were taking "off by one" goal;) Robert