method

fetch

rails latest stable - Class: Mime
fetch(type, &block)
public

No documentation available.

# 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