Module: Pith::Server
Defined Under Namespace
Classes: OutputFinder
Instance Method Summary collapse
Instance Method Details
#new(project) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/pith/server.rb', line 9 def new(project) Rack::Builder.new do use Rack::CommonLogger use Rack::ShowExceptions use Rack::Lint use Pith::Server::OutputFinder, project run Rack::Directory.new(project.output_dir) end end |