summaryrefslogtreecommitdiffstats
path: root/lib/soap/mapping/wsdlencodedregistry.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-21 15:08:56 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-12-21 15:08:56 +0000
commite6b62964d5ce1508d867bec513cc76a0e4bd026b (patch)
treeec583bf4781cefd0a19735386b456046b8993d70 /lib/soap/mapping/wsdlencodedregistry.rb
parentd2faf61018b834efdcba69db8cd6703661247513 (diff)
downloadruby-e6b62964d5ce1508d867bec513cc76a0e4bd026b.tar.gz
ruby-e6b62964d5ce1508d867bec513cc76a0e4bd026b.tar.xz
ruby-e6b62964d5ce1508d867bec513cc76a0e4bd026b.zip
* lib/soap/*, test/soap/*, sample/soap/authheader/*: eval cleanup.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/soap/mapping/wsdlencodedregistry.rb')
-rw-r--r--lib/soap/mapping/wsdlencodedregistry.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/soap/mapping/wsdlencodedregistry.rb b/lib/soap/mapping/wsdlencodedregistry.rb
index 4433c73cf..335106fba 100644
--- a/lib/soap/mapping/wsdlencodedregistry.rb
+++ b/lib/soap/mapping/wsdlencodedregistry.rb
@@ -162,7 +162,7 @@ private
def elements2soap(obj, soap_obj, elements)
elements.each do |element|
name = element.name.name
- child_obj = obj.instance_eval("@#{ name }")
+ child_obj = obj.instance_variable_get('@' + name)
soap_obj.add(name, Mapping._obj2soap(child_obj, self, element.type))
end
end