D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby19
/
lib64
/
ruby
/
gems
/
1.9.1
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
File
/
Filename :
cdesc-File.ri
back
Copy
U:RDoc::NormalClass[iI" File:EFI"Rack::File;FI"Object;Fo:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[ I"ORack::File serves files below the +root+ directory given, according to the;FI"#path info of the Rack request.;FI"Ke.g. when Rack::File.new("/etc") is used, you can access 'passwd' file;FI"$as http://localhost:9292/passwd;Fo:RDoc::Markup::BlankLine o; ;[I"GHandlers can detect if bodies are a Rack::File, and use mechanisms;FI"!like sendfile on the +path+.;F: @fileI"lib/rack/file.rb;F;0[ [ I"cache_control;FI"RW;F:publicF@[ I" path;FI"RW;F;F@[ I" root;FI"RW;F;F@[ I"to_path;FI"RW;F;F@[[I"ALLOWED_VERBS;Fo;;[ ;0@[I"ALLOW_HEADER;Fo;;[ ;0@[I"F;Fo;;[ ;0@[ [[I" class;F[[;[[I"new;F@[:protected[ [:private[ [I" instance;F[[;[ [I" _call;F@[I" call;F@[I" each;F@[I"serving;F@[; [ [;[