From: Robert Klemme Date: 2011-08-03T05:40:32+09:00 Subject: Re: Numeric#coerce docs are a disaster On Tue, Aug 2, 2011 at 9:20 PM, Eric Hodel wrote: > On Aug 2, 2011, at 5:55 AM, Robert Klemme wrote: >> On Tue, Aug 2, 2011 at 12:40 PM, 7stud -- wrote: >>> 1) I don't know how coerce works. >> >> http://blog.rubybestpractices.com/posts/rklemme/019-Complete_Numeric_Class.html > > May I use this as source material for better documentation of Numeric and Numeric#coerce in Ruby?  I don't think I'll be able to include all of it, but there are certainly sections I may use verbatim. Hi Eric, I'm happy if I can help Ruby and the community with this. Please go ahead and use those parts that you think are useful. For the remainder you can always include a link for the full story if that should be necessary. Btw, I just notice that one reason for the lack of good docs for this feature might be the fact that there is no single class where this naturally fits in. All numeric classes have #coerce and all numeric operators in all those classes use it. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/