From 361dcad8fd022065bc38fd557b0ec02d6e3f1a0b Mon Sep 17 00:00:00 2001 From: Leon Breedt Date: Tue, 5 Apr 2005 05:39:45 +0000 Subject: be explicit about the object to do #instance_eval in for delegated dispatching, clean up iterations to use #zip (bitsweat), git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/lib/action_web_service/client/soap_client.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'actionwebservice/lib/action_web_service/client/soap_client.rb') diff --git a/actionwebservice/lib/action_web_service/client/soap_client.rb b/actionwebservice/lib/action_web_service/client/soap_client.rb index c906a71331..79edac0b71 100644 --- a/actionwebservice/lib/action_web_service/client/soap_client.rb +++ b/actionwebservice/lib/action_web_service/client/soap_client.rb @@ -78,12 +78,10 @@ module ActionWebService # :nodoc: expects = method.expects returns = method.returns param_def = [] - i = 0 if expects expects.each do |type| type_binding = @protocol.marshaler.lookup_type(type) param_def << ['in', type.name, type_binding.mapping] - i += 1 end end if returns -- cgit v1.2.3