From: Florian Gross Date: 2004-06-15T17:08:36+09:00 Subject: [BUG] Small bugs with frozen things Moin! Some oddities I noticed: irb(main):034:0> File.open("C:/autoexec.bat").freeze.inspect TypeError: can't modify frozen File # inspect doesn't modify from (irb):34:in `inspect' # This one also happens for File#path etc. irb(main):063:0> Dir.new(".").freeze.send(:initialize, "C:/").read => "katapult.zip" # Initialize executed despite Dir being frozen irb(main):097:0> Class.new.freeze.to_s TypeError: can't modify frozen object # to_s doesn't modify from (irb):97:in `to_s' Regards, Florian Gross