From: Mathieu Bouchard Date: 2005-09-09T03:03:49+09:00 Subject: Re: returning strings from methods/instance_methods On Fri, 9 Sep 2005, Christian Neukirchen wrote: > Yukihiro Matsumoto writes: > > In message "Re: returning strings from methods/instance_methods" > > on Fri, 9 Sep 2005 00:23:50 +0900, TRANS writes: > > |I was just wondering why with #methods and #instance_methods, it was > > |decided to return the names as strings and not symobols? > > Those methods predate Symbols. > When were Symbols introduced to Ruby? I started with Ruby 1.4.3 and I remember that calling String#intern returned a Fixnum. Ruby 1.6.0 introduced Symbols in a stable release. ____________________________________________________________________ Mathieu Bouchard - t�l:+1.514.383.3801 - http://artengine.ca/matju Freelance Digital Arts Engineer, Montr�al QC Canada