Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove comment implying hash should be directly accessed. instead, us…

…e Mime#mime_type
  • Loading branch information...
commit e9a910339c7650f26947907acd6870be44fb0742 1 parent 382c3c5
@montague authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  lib/rack/mime.rb
View
2  lib/rack/mime.rb
@@ -10,8 +10,6 @@ module Mime
# Usage:
# Rack::Mime.mime_type('.foo')
#
- # This is a shortcut for:
- # Rack::Mime::MIME_TYPES.fetch('.foo', 'application/octet-stream')
def mime_type(ext, fallback='application/octet-stream')
MIME_TYPES.fetch(ext.to_s.downcase, fallback)
Please sign in to comment.
Something went wrong with that request. Please try again.