method

deep_map

ruby latest stable - Class: SOAP::SOAPArray

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

deep_map(ary, &block)
public

No documentation available.

# File lib/soap/baseData.rb, line 787
  def deep_map(ary, &block)
    ary.collect do |ele|
      if ele.is_a?(Array)
        deep_map(ele, &block)
      else
        new_obj = block.call(ele)
        new_obj.elename = ITEM_NAME
        new_obj
      end
    end
  end