From: Yukihiro Matsumoto Date: 2008-10-09T22:46:49+09:00 Subject: [ruby-core:19245] Re: Module.freeze vs Object.freeze Hi, In message "Re: [ruby-core:19225] Module.freeze vs Object.freeze" on Thu, 9 Oct 2008 06:02:37 +0900, Curt Hagenlocher writes: | |What's the difference between Module.freeze and Object.freeze? They seem to have the same effect. It initializes internal name field before freezing it. The following code will show the difference: # comment out the following line to see the difference. Module.send :remove_method, :freeze m = Module.new m.freeze M = m p m -- matz.