lib/soap/rpc/element.rb in soap4r-sgonyea-1.5.9 vs lib/soap/rpc/element.rb in soap4r-sgonyea-1.6.0

- old
+ new

@@ -1,6 +1,5 @@ -# encoding: ASCII-8BIT # SOAP4R - RPC element definition. # Copyright (C) 2000-2007 NAKAMURA, Hiroshi <nahi@ruby-lang.org>. # This program is copyrighted free software by NAKAMURA, Hiroshi. You can # redistribute it and/or modify it under the same terms of Ruby's license; @@ -229,10 +228,10 @@ def init_param(param) mapped_class = SOAPMethod.parse_mapped_class(param.mapped_class) qname = param.qname if qname.nil? and mapped_class - qname = TypeMap.respond_to?(:key) ? TypeMap.key(mapped_class) : TypeMap.index(mapped_class) # RubyJedi: compatible with Ruby 1.8.6 and above + qname = TypeMap.index(mapped_class) end case param.io_type when IN @signature.push([IN, param.name, qname]) @inparam_names.push(param.name)