From: Barson Date: 2005-10-11T23:41:52+09:00 Subject: Re: comments found in ObjectSpace I'm not sure what that code is supposed to do. Using my code, the text file (around 152kb) that was produced contained a lot of comments, especially from the Date class. "wannes" wrote in message news:293701e50510110641u39865f4h@mail.gmail.com... On 11/10/05, Amarison wrote: > I ran the following code: > and I was surprised to find comments in objectspace.txt. I was under the > impression that Ruby skips comments when parsing code. > Very strange behaviour... Anyone cares to explain? Thanks simple answer: those are no comments try: test = File.open("blah.txt",'w') puts test test.close grtz, wannes