From: Robert Dober Date: 2007-02-03T17:34:26+09:00 Subject: Re: Performance hit of define_method ------=_Part_33603_15233230.1170491664239 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline On 2/2/07, James Edward Gray II wrote: > > On Feb 2, 2007, at 1:56 PM, Robert Dober wrote: > > > On 2/2/07, Chris Carter wrote: > >> It is because OpenStruct is in the ruby standard library, > > > > > > Can you believe that! One never stops learning !!! > > Sorry to correct you it is even in the Core. > > I'm not sure if I understood you correctly Robert, but just to be > clear OpenStruct is not a part of Ruby's core. It is a Ruby standard > library. I'm talking about Ruby here, not Facets. > > James Edward Gray II Thank you James for confusing me, it is by pure chance that I choose my new signature :) But I realize that I do not know how to distinguish between Core and STL. So far I just looked it up - cheated - http://www.ruby-doc.org/core/classes/OpenStruct.html but I recall remotely that having been wrong already. I did not think that all I have to 'require' is not in the Core. (e.g. Enumerable was Core for me) enumerable.rb and ostruct.rb sit in lib/ of course so that boils down to the 'require' vs. 'not require' criterion I guess. Cheers Robert -- We have not succeeded in answering all of our questions. In fact, in some ways, we are more confused than ever. But we feel we are confused on a higher level and about more important things. -Anonymous ------=_Part_33603_15233230.1170491664239--