Methods
A
Constants
Routes = ActionDispatch::Routing::RouteSet.new.tap do |app| app.draw do ok = lambda { |env| [200, { 'Content-Type' => 'text/plain' }, []] } get "/:foo" => ok, :constraints => lambda { |r| r.params[:foo] == 'foo' } get "/:bar" => ok end end
 
APP = build_app Routes
 
Instance Public methods
app()
# File actionpack/test/dispatch/routing_test.rb, line 4138
def app; APP end