Flowdock
method

soap2obj

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: SOAP::Mapping::TypedArrayFactory_
soap2obj(obj_class, node, info, map) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/soap/mapping/factory.rb, line 260
  def soap2obj(obj_class, node, info, map)
    if node.rank > 1
      return false
    end
    arytype = info[:type] || info[0]
    unless node.arytype == arytype
      return false
    end
    obj = Mapping.create_empty_object(obj_class)
    mark_unmarshalled_obj(node, obj)
    node.soap2array(obj) do |elem|
      elem ? Mapping._soap2obj(elem, map) : nil
    end
    return true, obj
  end
Register or log in to add new notes.