Class: WebPageParser::HTTP::Response
- Inherits:
-
String
- Object
- String
- WebPageParser::HTTP::Response
- Defined in:
- lib/web-page-parser/http.rb
Instance Attribute Summary collapse
-
#curl ⇒ Object
Returns the value of attribute curl.
Instance Method Summary collapse
-
#initialize(s, curl) ⇒ Response
constructor
A new instance of Response.
Constructor Details
#initialize(s, curl) ⇒ Response
Returns a new instance of Response.
9 10 11 12 |
# File 'lib/web-page-parser/http.rb', line 9 def initialize(s, curl) self.curl = curl super(s) end |
Instance Attribute Details
#curl ⇒ Object
Returns the value of attribute curl.
7 8 9 |
# File 'lib/web-page-parser/http.rb', line 7 def curl @curl end |