class Rubhttp::Uri
Public Class Methods
new(uri)
click to toggle source
# File lib/rubhttp/uri.rb, line 25 def initialize(uri) @uri = uri end
parse(uri)
click to toggle source
# File lib/rubhttp/uri.rb, line 21 def self.parse(uri) new(Addressable::URI.parse(uri)) end
Public Instance Methods
inspect()
click to toggle source
# File lib/rubhttp/uri.rb, line 29 def inspect format('#<%s:0x%014x URI:%s>', self.class.name, object_id << 1, to_s) end