REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 1.49 KB
Close
/proc/thread-self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/Builder/cdesc-Builder.yaml
Text
Base64
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: app - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: new_from_string - !ruby/object:RI::MethodSummary name: parse_file comment: - !ruby/struct:SM::Flow::P body: Rack::Builder implements a small DSL to iteratively construct Rack applications. - !ruby/struct:SM::Flow::P body: "Example:" - !ruby/struct:SM::Flow::VERB body: " require 'rack/lobster'\n app = Rack::Builder.new do\n use Rack::CommonLogger\n use Rack::ShowExceptions\n map "/lobster" do\n use Rack::Lint\n run Rack::Lobster.new\n end\n end\n\n run app\n" - !ruby/struct:SM::Flow::P body: Or - !ruby/struct:SM::Flow::VERB body: " app = Rack::Builder.app do\n use Rack::CommonLogger\n run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] }\n end\n\n run app\n" - !ruby/struct:SM::Flow::P body: <tt>use</tt> adds middleware to the stack, <tt>run</tt> dispatches to an application. You can use <tt>map</tt> to construct a Rack::URLMap in a convenient way. constants: [] full_name: Rack::Builder includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: map - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: to_app - !ruby/object:RI::MethodSummary name: use - !ruby/object:RI::MethodSummary name: warmup name: Builder superclass: Object
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 11
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
app-c.yaml
192 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
call-i.yaml
172 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
cdesc-Builder.yaml
1.49 KB
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
map-i.yaml
786 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new-c.yaml
191 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
new_from_string-c.yaml
222 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
parse_file-c.yaml
215 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
run-i.yaml
773 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
to_app-i.yaml
173 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
use-i.yaml
905 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
warmup-i.yaml
456 B
lrw-r--r--
2019-12-05 22:14:01
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).