Class: Mooncell::CLI::Commands::Server Private

Inherits:
Base
  • Object
show all
Defined in:
lib/mooncell/cli/commands/server.rb

Overview

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

Since:

  • 0.1.0

Instance Method Summary collapse

Methods inherited from Base

inherited, register

Instance Method Details

#callObject

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.

Since:

  • 0.1.0



13
14
15
16
17
18
19
# File 'lib/mooncell/cli/commands/server.rb', line 13

def call(*)
  # TODO: Add support for multiple application
  _, app = Mooncell.configuration.apps.first
  return if app.nil?

  app.call
end