PATH:
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
Mime
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns String with mime type if found, otherwise use <tt>fallback</tt>. <tt>ext</tt> should be filename extension in the '.ext' format that - !ruby/struct:SM::Flow::VERB body: " File.extname(file) returns.\n" - !ruby/struct:SM::Flow::P body: <tt>fallback</tt> may be any object - !ruby/struct:SM::Flow::P body: Also see the documentation for MIME_TYPES - !ruby/struct:SM::Flow::P body: "Usage:" - !ruby/struct:SM::Flow::VERB body: " Rack::Mime.mime_type('.foo')\n" - !ruby/struct:SM::Flow::P body: "This is a shortcut for:" - !ruby/struct:SM::Flow::VERB body: " Rack::Mime::MIME_TYPES.fetch('.foo', 'application/octet-stream')\n" full_name: Rack::Mime#mime_type is_singleton: false name: mime_type params: (ext, fallback='application/octet-stream') visibility: public
[-] mime_type-i.yaml
[edit]
[+]
..
[-] cdesc-Mime.yaml
[edit]
[-] match%3f-i.yaml
[edit]