class Goliath::Console

@private
running reactor with the associated Goliath config loaded.
The console execution class for Goliath. This will load a REPL inside of a

def self.run!(server)

Returns:
  • (Nil) -
def self.run!(server)
  require 'irb'
  EM.synchrony do
    server.load_config
    Object.send(:define_method, :goliath_server) { server }
    IRB.start
    EM.stop
  end
end