Sha256: a54efc5a2be0a7c80a2940187b20db894e856455371d71edf531b4a14240e7a5

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 Bytes

Contents

require 'hanami/commands/command'

module Hanami
  module Commands
    # Server command (`hanami server`)
    #
    # @since 0.1.0
    # @api private
    class Server < Command
      requires 'code_reloading'

      def initialize(options)
        super(options)

        require 'hanami/server'
        @server = Hanami::Server.new
      end

      def start
        server.start
      end

      protected

      attr_reader :server
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hanami-1.0.0.beta2 lib/hanami/commands/server.rb
hanami-1.0.0.beta1 lib/hanami/commands/server.rb
hanami-0.9.2 lib/hanami/commands/server.rb
hanami-0.9.1 lib/hanami/commands/server.rb
hanami-0.9.0 lib/hanami/commands/server.rb