Method: Mooncell::Application#initialize

Defined in:
lib/mooncell/application.rb

#initializeApplication

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Create application instance

Since:

  • 0.1.0



71
72
73
74
75
76
77
# File 'lib/mooncell/application.rb', line 71

def initialize
  @pool = ConnectionPool.new
  @router = Router.new(self)

  # TODO: Add support to reload router
  setup_router
end