Permalink
Browse files

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

…e Mime#mime_type
  • Loading branch information...
1 parent 382c3c5 commit e9a910339c7650f26947907acd6870be44fb0742 @montague committed Mar 16, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/rack/mime.rb
View
@@ -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)

0 comments on commit e9a9103

Please sign in to comment.