From: Gary Wright Date: 2007-04-02T08:06:51+09:00 Subject: Re: How to use standard library? On Apr 1, 2007, at 6:42 PM, Jamal Soueidan wrote: >> If the string you pass to URI.parse corresponds to one of these >> types, then >> parse returns an instance of the appropriate class. Otherwise, it >> will return an >> instance of class URI::Generic > > I wonder actually how you knew that it will return one of these types > and why do you think it will return Generic? In the description of URI.parse it says: Creates one of the URI�s subclasses instance from the string The documentation is quite sparse for URI.