PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /proc/self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/File/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //proc/self/root/opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/File/cdesc-File.yaml

--- !ruby/object:RI::ClassDescription 
attributes: 
- !ruby/object:RI::Attribute 
  comment: 
  name: cache_control
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: path
  rw: RW
- !ruby/object:RI::Attribute 
  comment: 
  name: root
  rw: RW
class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: Rack::File serves files below the <tt>root</tt> directory given, according to the path info of the Rack request. e.g. when Rack::File.new(&quot;/etc&quot;) is used, you can access 'passwd' file as http://localhost:9292/passwd
- !ruby/struct:SM::Flow::P 
  body: Handlers can detect if bodies are a Rack::File, and use mechanisms like sendfile on the <tt>path</tt>.
constants: 
- !ruby/object:RI::Constant 
  comment: 
  name: ALLOWED_VERBS
  value: "%w[GET HEAD OPTIONS]"
- !ruby/object:RI::Constant 
  comment: 
  name: ALLOW_HEADER
  value: ALLOWED_VERBS.join(', ')
- !ruby/object:RI::Constant 
  comment: 
  name: F
  value: "::File"
full_name: Rack::File
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: _call
- !ruby/object:RI::MethodSummary 
  name: call
- !ruby/object:RI::MethodSummary 
  name: each
- !ruby/object:RI::MethodSummary 
  name: serving
name: File
superclass: Object