Object
# 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
# 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.