Class: HttpVanilli::NetHttp::StubSocket

Inherits:
Object
  • Object
show all
Defined in:
lib/http_vanilli/net_http/stubs.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#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

#closed?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/http_vanilli/net_http/stubs.rb', line 8

def closed?
  @closed ||= true
end

#readuntil(*args) ⇒ Object



12
13
# File 'lib/http_vanilli/net_http/stubs.rb', line 12

def readuntil(*args)
end