summaryrefslogtreecommitdiff
path: root/lib/soap/baseData.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/soap/baseData.rb')
-rw-r--r--lib/soap/baseData.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/soap/baseData.rb b/lib/soap/baseData.rb
index 0e8b00d..72a6e07 100644
--- a/lib/soap/baseData.rb
+++ b/lib/soap/baseData.rb
@@ -788,7 +788,7 @@ public
if ele.is_a?(Array)
deep_map(ele, &block)
else
- new_obj = block.call(ele)
+ new_obj = yield(ele)
new_obj.elename = ITEM_NAME
new_obj
end