In Files

  • wsdl/xmlSchema/importer.rb

Parent

Class/Module Index [+]

Quicksearch

WSDL::XMLSchema::Importer

Public Class Methods

import(location, originalroot = nil) click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 18
def self.import(location, originalroot = nil)
  new.import(location, originalroot)
end
            
new() click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 22
def initialize
  @web_client = nil
end
            

Public Instance Methods

import(location, originalroot = nil) click to toggle source
 
               # File wsdl/xmlSchema/importer.rb, line 26
def import(location, originalroot = nil)
  unless location.is_a?(URI)
    location = URI.parse(location)
  end
  content = parse(fetch(location), location, originalroot)
  content.location = location
  content
end
            

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.

blog comments powered by Disqus