lib/hanami/commands/server.rb in hanami-1.0.0.beta2 vs lib/hanami/commands/server.rb in hanami-1.0.0.beta3

- old
+ new

@@ -1,28 +1,32 @@ require 'hanami/commands/command' module Hanami + # @api private module Commands # Server command (`hanami server`) # # @since 0.1.0 # @api private class Server < Command requires 'code_reloading' + # @api private def initialize(options) super(options) require 'hanami/server' @server = Hanami::Server.new end + # @api private def start server.start end protected + # @api private attr_reader :server end end end