Class: Revealize::Commands

Inherits:
Thor
  • Object
show all
Defined in:
lib/revealize/commands.rb

Instance Method Summary collapse

Instance Method Details

#serverObject



7
8
9
10
11
12
# File 'lib/revealize/commands.rb', line 7

def server
  app = Rack::Builder.new do
    run Server
  end
  Rack::Server.start :app => app 
end