Class: DocverterServer::Runner::PDF::UserAgent
- Inherits:
-
Object
- Object
- DocverterServer::Runner::PDF::UserAgent
- Defined in:
- lib/docverter-server/runner/pdf.rb
Instance Method Summary collapse
-
#initialize(output_device) ⇒ UserAgent
constructor
A new instance of UserAgent.
- #resolveURI(uri) ⇒ Object (also: #resolve_uri)
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 |