Flowdock
method

dump_array_typemap

Importance_0
v1_8_7_330 - Show latest stable - 0 notes - Class: WSDL::SOAP::MappingRegistryCreator
dump_array_typemap(definedtype) private

No documentation

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

Hide source
# File lib/wsdl/soap/mappingRegistryCreator.rb, line 75
  def dump_array_typemap(definedtype)
    ele = definedtype.name
    arytype = definedtype.find_arytype || XSD::AnyTypeName
    type = XSD::QName.new(arytype.namespace, arytype.name.sub(/\[(?:,)*\]$/, ''))
    @types << type
    return "MappingRegistry.set(\n  \#{create_class_name(ele)},\n  ::SOAP::SOAPArray,\n  ::SOAP::Mapping::Registry::TypedArrayFactory,\n  { :type => \#{dqname(type)} }\n)\n"
  end
Register or log in to add new notes.