Class: URI::HTTP
- Inherits:
-
Object
- Object
- URI::HTTP
- Defined in:
- lib/vendor/addressable/spec/addressable/uri_spec.rb
Instance Method Summary collapse
-
#initialize(uri) ⇒ HTTP
constructor
A new instance of HTTP.
- #to_s ⇒ Object
Constructor Details
#initialize(uri) ⇒ HTTP
Returns a new instance of HTTP.
54 55 56 |
# File 'lib/vendor/addressable/spec/addressable/uri_spec.rb', line 54 def initialize(uri) @uri = uri end |
Instance Method Details
#to_s ⇒ Object
58 59 60 |
# File 'lib/vendor/addressable/spec/addressable/uri_spec.rb', line 58 def to_s return @uri.to_s end |