public Method

SOAPArray.deep_map(ary, &block)

There's no documentation for this item.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.