From: Anders Borch Date: 2003-07-01T06:03:55+09:00 Subject: Re: dynamic object creation Dave Thomas wrote: > John Platte wrote: > >> On the page you referenced, the entry for const_defined? says it takes >> a symbol too, but the example code uses a string argument...!? Same >> for const_set. > > >>> I just tested it and to my surprise it worked?! >>> >>> http://rubycentral.com/book/ref_c_module.html#Module.const_get >>> >>> says that I need to supply a symbol, why does it accept a string? > > > At the top of the section, you'll find "In the descriptions that follow, > the parameter aSymbol refers to a symbol, which is either a quoted > string or a Symbol (such as :name)." > thanks alot :) I'll try to *read* from now on ;) -- dc -e 4dd*od3*dddn1-89danrn10-dan3+ann6*dan*2*an13dn1+dn2-dn3+5*ddan2/9+an13nap