관리-도구
편집 파일: map-i.ri
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.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"Rack::Builder.app do ;TI" map '/' do ;TI" run Heartbeat ;TI" end ;TI" end ;T:@format0o; ; [I"_The +use+ method can also be used here to specify middleware to run under a specific path:;T@o;; [I"Rack::Builder.app do ;TI" map '/' do ;TI" use Middleware ;TI" run Heartbeat ;TI" end ;TI" end ;T; 0o; ; [I"`This example includes a piece of middleware which will run before requests hit +Heartbeat+.;T: @fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(path, &block);T@$FI"Builder;FcRDoc::NormalClass0