From: "David A. Black" Date: 2005-11-25T02:46:21+09:00 Subject: Re: Legal symbol names and generics Hi -- On Fri, 25 Nov 2005, John Lam wrote: > Thanks David, I wasn't really thinking about those corner cases at all > (reveals the tunnel vision that I have right now). > > Are there *any* characters that I can use in Ruby to escape the type > information in the constant name? Your original example: ChannelFactory(" http://www.flickr.com/services/soap/").CreateChannel looks like it could be: ChannelFactory::IOutputChannel.create_channel("http://...") or just: IOutputChannel.new("http://...") since a class called IOutputChannel presumably is already a "factory" object. I suppose you could use underscores to set off parts of names, but that seems like a solution in search of a problem, and very hard to read. David -- David A. Black dblack@wobblini.net