method

add_md_ary

ruby latest stable - Class: SOAP::Mapping

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.

add_md_ary(md_ary, ary, indices, registry)
private

No documentation available.

# File lib/soap/mapping/mapping.rb, line 368
    def add_md_ary(md_ary, ary, indices, registry)
      for idx in 0..(ary.size - 1)
        if ary[idx].is_a?(Array)
          add_md_ary(md_ary, ary[idx], indices + [idx], registry)
        else
          md_ary[*(indices + [idx])] = _obj2soap(ary[idx], registry)
        end
      end
    end