From: Henry Maddocks Date: 2012-08-18T09:51:14+09:00 Subject: Re: extending class, namespace question On 17/08/2012, at 11:26 PM, Ronnie Aa wrote: > Jan E. wrote in post #1072596: >> Ronnie Aa wrote in post #1072589: >>> So its better to not extend built-in classes, and ::Fixnum >>> has nothing todo with Module::Fixnum , in the latter it's just >>> a custom name for some class? >> >> Yes, yes and yes. ;-) > > But what about: > > http://rubyworks.github.com/rubyfaux/?doc=http://rubyworks.github.com/facets/docs/facets-2.9.3/core.json#api-class-Array > > These guys could make a living extending built-in classes. :) As with everything in life, it's fine to extend built in classes as long as you're aware of the potential problems. Henry