class WsdlMapper::DomParsing::LocalFileResolver
Public Class Methods
new(path)
click to toggle source
# File lib/wsdl_mapper/dom_parsing/local_file_resolver.rb, line 8 def initialize(path) @path = path end
Public Instance Methods
resolve(name)
click to toggle source
# File lib/wsdl_mapper/dom_parsing/local_file_resolver.rb, line 12 def resolve(name) path = File.join @path, name Nokogiri::XML::Document.parse File.read(path) end