Class: FakeWeb::StubSocket
- Inherits:
-
Object
- Object
- FakeWeb::StubSocket
- Defined in:
- lib/fake_web/stub_socket.rb
Overview
:nodoc:
Instance Method Summary collapse
- #closed? ⇒ Boolean
-
#initialize(*args) ⇒ StubSocket
constructor
A new instance of StubSocket.
- #readuntil(*args) ⇒ Object
Constructor Details
#initialize(*args) ⇒ StubSocket
Returns a new instance of StubSocket.
4 5 |
# File 'lib/fake_web/stub_socket.rb', line 4 def initialize(*args) end |
Instance Method Details
#closed? ⇒ Boolean
7 8 9 |
# File 'lib/fake_web/stub_socket.rb', line 7 def closed? @closed ||= true end |
#readuntil(*args) ⇒ Object
11 12 |
# File 'lib/fake_web/stub_socket.rb', line 11 def readuntil(*args) end |