From: Dave Thomas Date: 2003-07-01T05:37:19+09:00 Subject: Re: dynamic object creation 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)." Cheers Dave