Class: HttpVanilli::NetHttp::StubSocket
- Defined in:
- lib/http_vanilli/net_http/stubs.rb
Overview
:nodoc:
Instance Method Summary collapse
- #closed? ⇒ Boolean
-
#initialize(*args) ⇒ StubSocket
constructor
A new instance of StubSocket.
- #readuntil(*args) ⇒ Object
Constructor Details
permalink #initialize(*args) ⇒ StubSocket
Returns a new instance of StubSocket.
5 6 |
# File 'lib/http_vanilli/net_http/stubs.rb', line 5 def initialize(*args) end |
Instance Method Details
permalink #closed? ⇒ Boolean
8 9 10 |
# File 'lib/http_vanilli/net_http/stubs.rb', line 8 def closed? @closed ||= true end |
permalink #readuntil(*args) ⇒ Object
[View source]
12 13 |
# File 'lib/http_vanilli/net_http/stubs.rb', line 12 def readuntil(*args) end |