From: Robert Dober Date: 2008-02-29T02:13:29+09:00 Subject: Re: Monkeypatching is Destroying Ruby On Thu, Feb 28, 2008 at 6:51 AM, Joel VanderWerf wrote: > Robert Dober wrote: > > Just out of curiosity why does Class#freeze need to exist and cannot > > be inherited from Object#freeze? > > Because Module#freeze is defined by ruby (so redefining Object#freeze > would not have the desired effect in this case). I was not criticizing your solution(1), I only wanted to know something. Let me rephrase my question then, why Module#freeze what has it to do in addition to Object#freeze Just in case you happen to know. Thx in advance Cheers Robert > > -- > > > vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407 > > -- http://ruby-smalltalk.blogspot.com/ --- Whereof one cannot speak, thereof one must be silent. Ludwig Wittgenstein