-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, 12 Feb 2002 06:53, GOTO Kentaro wrote:
> Hi Holden,
>
> In message "[webricken:3] SOAPlets"
> on Sun, 10 Feb 2002 09:44:05 +1300,
>
> Holden Glova <dsafari@xtra.co.nz> writes:
> > Here is what WEBrick shows me.
> > [2002-02-10 00:34:00] ERROR NameError: undefined method `has_key?' for
> > []:Array
>
> This problem is solved one perhaps:
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/33038
> http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/33051
>
> -- Gotoken
No - these didn't solve the problem. My error listed above is a different
beast I think. I have it working by doing the following but I'm sure there is
a much, much better way of doing this.
def get_instance( config, *options )
#@config = config
#@options = options
#if @options && @options.has_key?( 'mappingRegistry' )
# @router.mappingRegistry = @options[ 'mappingRegistry' ]
#end
self
end
- --
Signed,
Holden Glova
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8aNU7+mF116Lw2cQRAsKUAJ9XgVRSYelobqglQRMxuJMKHPbLDACfe4Wz
RNNS57q4d3mmOVqmmAjLbOk=
=cc6L
-----END PGP SIGNATURE-----