class Nova::Starbound::Server::FakeServer

A fake server that wraps a pipe.

Public Class Methods

new(pipe) click to toggle source

Initialize the fake server with the pipe.

# File lib/nova/starbound/server.rb, line 165
def initialize(pipe)
  @pipe = pipe
end

Public Instance Methods

accept() click to toggle source

Returns the pipe.

@return [Object]

# File lib/nova/starbound/server.rb, line 175
def accept
  @pipe
end
listen(_) click to toggle source

Does nothing.

# File lib/nova/starbound/server.rb, line 170
def listen(_); end