Sha256: d66b898c6199f11c15f7b439839d113741fe5c7f67381e9800dcb4b80b1b892f
Contents?: true
Size: 1.02 KB
Versions: 20
Compression:
Stored size: 1.02 KB
Contents
module Soybean class LiteralMappingRegistryCreator < WSDL::SOAP::LiteralMappingRegistryCreator def initialize(definitions, name_creator, modulepath, defined_const, cache) @cache = cache super(definitions, name_creator, modulepath, defined_const) end private def dump_entry(regname, var) if @cache.key?(var[:class]) '' else @cache[var[:class]] = true "#{regname}.register(\n " + [ dump_entry_item(var, :class), dump_entry_item(var, :soap_class), dump_entry_item(var, :schema_name, :qname), dump_entry_item(var, :schema_type, :qname), dump_entry_item(var, :is_anonymous), dump_entry_item(var, :schema_basetype, :qname), dump_entry_item(var, :schema_qualified), dump_entry_item(var, :schema_element), dump_entry_item(var, :schema_attribute) ].compact.join(",\n ") + "\n)\n" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems