Thanks Robert, I hadn't seen your post before. Will add to my reader docket! Zach On Wed, Jan 26, 2011 at 10:29 AM, Robert Klemme <shortcutter / googlemail.com> wrote: > On Wed, Jan 26, 2011 at 3:58 PM, zdennis <zach.dennis / gmail.com> wrote: >> A fellow rubyist, Zach Church, wrote a great article on coercion in >> Ruby. It's not something I've seen covered often so I thought I'd >> share with the community at large: >> >> http://mutuallyhuman.com/blog/2011/01/25/class-coercion-in-ruby > > In case you weren't aware: I covered this thoroughly a while ago when > I described what it needs to create a numeric class which nicely plays > along with other numeric classes. > > http://blog.rubybestpractices.com/posts/rklemme/019-Complete_Numeric_Class.html > > Cheers > > robert > > -- > remember.guy do |as, often| as.you_can - without end > http://blog.rubybestpractices.com/ > > -- Zach Dennis http://www.continuousthinking.com (personal) http://www.mutuallyhuman.com (hire me) http://ideafoundry.info/behavior-driven-development (first rate BDD training) @zachdennis (twitter)