Class: Addressable::URI

Inherits:
Object
  • Object
show all
Defined in:
lib/webpage-archivist/patches.rb

Instance Method Summary collapse

Instance Method Details

#absolutize(uri) ⇒ Object

Make an URI absolute



10
11
12
# File 'lib/webpage-archivist/patches.rb', line 10

def absolutize uri
  join(uri).normalize.to_s
end