Class: FakeWeb::StubSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_web/stub_socket.rb

Overview

:nodoc:

Instance Method Summary collapse

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

Returns:

  • (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