From: gwtmp01@... Date: 2007-02-06T09:04:28+09:00 Subject: Re: Code explanation requeted On Feb 5, 2007, at 6:39 PM, dblack@wobblini.net wrote: > What you're seeing in the code you've got is this, but strung together > on one line without much to help you parse it visually if you don't > already know what to expect. I would tend to write it as: > > (class << log; self; end).__send__ etc. I'd add that __send__(:define_method, :to_int) is used instead of simply: define_method(:to_int) to override the private status of 'define_method'. Gary Wright