method

fetch

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: Mime
fetch(type, &block) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/http/mime_type.rb, line 62
    def fetch(type, &block)
      return type if type.is_a?(Type)
      EXTENSION_LOOKUP.fetch(type.to_s, &block)
    end
Register or log in to add new notes.