# File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 22 22: def initialize(definitions, name_creator, modulepath, defined_const) 23: @definitions = definitions 24: @name_creator = name_creator 25: @modulepath = modulepath 26: @simpletypes = definitions.collect_simpletypes 27: @simpletypes.uniq! 28: @complextypes = definitions.collect_complextypes 29: @complextypes.uniq! 30: @varname = nil 31: @defined_const = defined_const 32: end
# File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 34 34: def dump(varname) 35: @varname = varname 36: result = '' 37: str = dump_complextype 38: unless str.empty? 39: result << "\n" unless result.empty? 40: result << str 41: end 42: str = dump_simpletype 43: unless str.empty? 44: result << "\n" unless result.empty? 45: result << str 46: end 47: result 48: end
# File lib/wsdl/soap/encodedMappingRegistryCreator.rb, line 52 52: def dump_complextype 53: @complextypes.collect { |type| 54: unless type.abstract 55: dump_with_inner { 56: dump_complextypedef(@modulepath, type.name, type, nil, :encoded => true) 57: } 58: end 59: }.compact.join("\n") 60: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.