From: Reimer Behrends Date: 2002-09-10T14:33:18+09:00 Subject: Re: Larry Wall's comments on Ruby Rich Kilmer (rich@infoether.com) wrote: > class Numeric > Math.singleton_methods.each do [...] > end > end > > 10 lines...but works with all methods defined in Math (some new ones > added in 1.7). The problem with that is that ldexp, frexp, atan2, and hypot (the last for 1.7 only) don't make any sense as general methods in Numeric. Also, consider the following: p Math.singleton_methods require "complex" p Math.singleton_methods Reimer Behrends