Class: Rake::Pipeline::Server

Inherits:
Rack::Server
  • Object
show all
Defined in:
lib/rake-pipeline/server.rb

Instance Method Summary collapse

Instance Method Details

#appObject



7
8
9
10
11
12
# File 'lib/rake-pipeline/server.rb', line 7

def app
  not_found = proc { [404, { "Content-Type" => "text/plain" }, ["not found"]] }
  config = "Assetfile"

  Middleware.new(not_found, config)
end