Namespace

Methods

Class/Module Index [+]

Quicksearch

Mime

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.