class Spring::IOWrapper

Public Class Methods

new(socket) click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 12
def initialize(socket)
  @socket = socket
end
recv_io(socket, *args) click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 8
def self.recv_io(socket, *args)
  new(socket.recv_io(*args))
end

Public Instance Methods

close() click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 24
def close
  @socket.close
end
forward_to(socket) click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 16
def forward_to(socket)
  socket.send_io(@socket)
end
path() click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 63
def path
  @path
end
to_io() click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 20
def to_io
  @socket
end