method

import

ruby latest stable - Class: WSDL::XMLSchema::Importer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

import(location, originalroot = nil)
public

No documentation available.

# File lib/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