From: Nikolai Weibull Date: 2010-12-31T20:14:32+09:00 Subject: [ruby-core:34017] Re: [ruby-core:34012] Re: Why doesn’t StringIO implement #freeze? On Fri, Dec 31, 2010 at 03:09, Nobuyoshi Nakada wrote: > Hi, > > At Fri, 10 Dec 2010 00:34:35 +0900, > Nikolai Weibull wrote in [ruby-core:33648]: >> IO implements #freeze, but StringIO doesn���t. ��What���s up with that? > > What do you mean? ��IO#freeze does not exist, but just is inherited > from Kernel, and also StringIO. Sorry if I was unclear. IO objects runs rb_check_frozen for most methods before they actually do anything, while StringIO doesn���t.