From: "ara.t.howard" Date: 2007-11-09T13:58:16+09:00 Subject: Re: local variables, eval, and parsing On Nov 8, 2007, at 9:46 PM, Peņa, Botp wrote: > arggg, i have > > require "rubygems" > require "attributes" > class Config > > and i still get a > >> ruby a.rb > a.rb:3: Config is not a class (TypeError) > > :( > > i'm on windows btw looks to be rubygems cfp:~ > ruby -e' require "rubygems"; class Config; end; p 42 ' -e:1: Config is not a class (TypeError) cfp:~ > ruby -e' require "attributes"; class Config; end; p 42 ' 42 wanna file a bug report? otherwise i can. > > # def self.load path > ... > > ah, yes. very clever. that could make for another config gem > magical auto attributes indeed :) hmmm. i'd probably give it a little more thought - but that's not a bad idea. what else would such a beast do? cheers. a @ http://codeforpeople.com/ -- it is not enough to be compassionate. you must act. h.h. the 14th dalai lama