Parent

Methods

Files

Class/Module Index [+]

Quicksearch

WSDL::SOAP::ServantSkeltonCreator

Attributes

definitions[R]

Public Class Methods

new(definitions, name_creator, modulepath = nil) click to toggle source
# File lib/wsdl/soap/servantSkeltonCreator.rb, line 24
def initialize(definitions, name_creator, modulepath = nil)
  @definitions = definitions
  @name_creator = name_creator
  @modulepath = modulepath
end

Public Instance Methods

dump(porttype = nil) click to toggle source
# File lib/wsdl/soap/servantSkeltonCreator.rb, line 30
def dump(porttype = nil)
  result = ""
  if @modulepath
    result << "\n"
    result << @modulepath.collect { |ele| "module #{ele}" }.join("; ")
    result << "\n\n"
  end
  if porttype.nil?
    @definitions.porttypes.each do |type|
      result << dump_porttype(type.name)
      result << "\n"
    end
  else
    result << dump_porttype(porttype)
  end
  if @modulepath
    result << "\n\n"
    result << @modulepath.collect { |ele| "end" }.join("; ")
    result << "\n"
  end
  result
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.