Class: DocverterServer::Runner::PDF::UserAgent

Inherits:
Object
  • Object
show all
Defined in:
lib/docverter-server/runner/pdf.rb

Instance Method Summary collapse

Constructor Details

#initialize(output_device) ⇒ UserAgent

Returns a new instance of UserAgent.



78
79
80
# File 'lib/docverter-server/runner/pdf.rb', line 78

def initialize(output_device)
  super
end

Instance Method Details

#resolveURI(uri) ⇒ Object Also known as: resolve_uri



82
83
84
85
86
87
88
# File 'lib/docverter-server/runner/pdf.rb', line 82

def resolveURI(uri)
  if uri =~ /^\//
    super(uri[1..uri.length])
  else
    super(uri)
  end
end