module Mime
Constants
- ALL
Create Mime::ALL but do not add it to the SET.
- EXTENSION_LOOKUP
- LOOKUP
- SET
Public Class Methods
[](type)
click to toggle source
# File lib/action_dispatch/http/mime_type.rb, line 27 def self.[](type) return type if type.is_a?(Type) Type.lookup_by_extension(type.to_s) end