|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Builder/ |
U:RDoc::AnyMethod[iI"map:EFI"Rack::Builder#map;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I",Creates a route within the application.;Fo:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"Rack::Builder.app do ;FI" map '/' do ;FI" run Heartbeat ;FI" end ;FI" end ;Fo; ; [I"_The +use+ method can also be used here to specify middleware to run under a specific path:;F@o;; [I"Rack::Builder.app do ;FI" map '/' do ;FI" use Middleware ;FI" run Heartbeat ;FI" end ;FI" end ;Fo; ; [I"`This example includes a piece of middleware which will run before requests hit +Heartbeat+.;F: @file000[ I"(path, &block);FI"lib/rack/builder.rb;F