From: James Gray Date: 2008-02-27T00:52:36+09:00 Subject: Re: Monkeypatching is Destroying Ruby On Feb 26, 2008, at 9:45 AM, Jones, Brian - McClatchy Interactive wrote: > I'd be at least a little interested in potentially offering developers > the chance to 'lock' their classes from monkey patches. There are probably ways around this, but: >> Array.freeze => Array >> class Array >> def to_csv; end >> end TypeError: can't modify frozen class from (irb):7 James Edward Gray II