Parent

Methods

Files

Class/Module Index [+]

Quicksearch

WSDL::SOAP::WSDL2Ruby

Attributes

basedir[RW]
location[RW]
logger[RW]
opt[R]

Public Class Methods

new() click to toggle source
# File lib/wsdl/soap/wsdl2ruby.rb, line 47
def initialize
  @modulepath = nil
  @location = nil
  @opt = {}
  @logger = Logger.new(STDERR)
  @basedir = nil
  @wsdl = nil
  @name = nil
  @classdef_filename = nil
  @mr_filename = nil
  @name_creator = ClassNameCreator.new
end

Public Instance Methods

run() click to toggle source
# File lib/wsdl/soap/wsdl2ruby.rb, line 32
def run
  unless @location
    raise RuntimeError, "WSDL location not given"
  end
  @wsdl = import(@location)
  if @opt['classdef']
    @name = @opt['classdef']
  else
    @name = @wsdl.name ? @wsdl.name.name : 'default'
  end
  create_file
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.