class Nonnative::DelaySocketPair

Public Instance Methods

read(socket) click to toggle source
Calls superclass method
# File lib/nonnative/delay_socket_pair.rb, line 5
def read(socket)
  duration = proxy.options[:delay] || 2
  sleep duration

  super socket
end