Index: [Article Count Order] [Thread]

Date:  Tue, 12 Feb 2002 17:49:45 +0900
From:  "NAKAMURA, Hiroshi" <nahi@keynauts.com>
Subject:  [webricken:9] Re: SOAPlets
To:  <webricken@notwork.org>
Message-Id:  <000501c1b3a2$38dc4c80$85222fc0@sarion.co.jp>
In-Reply-To:  <20020212083713.BDAZ12697.mta2-rme.xtra.co.nz@there>
X-Mail-Count: 00009

Hi,

> From: Holden Glova [mailto:dsafari@xtra.co.nz] 
> Sent: Tuesday, February 12, 2002 5:42 PM

> def get_instance( config, *options )
>     #@config = config
>     #@options = options
>     #if @options && @options.has_key?( 'mappingRegistry' )
>     #  @router.mappingRegistry = @options[ 'mappingRegistry' ]
>     #end
>     self
> end

Gee.  It's my fault.

> def get_instance( config, *options )
>     #@options = options
>     #if @options && @options.has_key?( 'mappingRegistry' )

@options always is an Array, and there is no chance to
have 'has_key?'.  I seem to fixed this bug at some time.
See
http://www.ruby-lang.org/~knu/cgi-bin/cvsweb.cgi/lib/soap4r/sample/webri
ck/soaplet.rb
to get the latest soaplet.rb.  I updated
http://www.jin.gr.jp/~nahi/RWiki/?cmd=view;name=SOAPlet .

Thanks,
// NaHi