NoMethodError: undefined method `create' for URI:Module

The line uri = URI.create(‘http://portalinfo.web.gs.com/’ )

gives me the message NoMethodError: undefined method `create’ for URI:Module
yet I can see a reference to URI.create in PickAxe p491.

The source of URI from the “rough” cvs module doesn’t show a create() method

  • instead a parse() method.

Is this just a case of an unpublished API changing or are there two URI
modules?

Peter

Hi,

···

At Mon, 2 Dec 2002 06:52:10 +0900, Booth, Peter Peter.Booth@gs.com wrote:

Is this just a case of an unpublished API changing or are there two URI
modules?

Two modules.


Nobu Nakada