method

mime_type

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActionView::Template
mime_type() 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_view/template.rb, line 150
    def mime_type
      @mime_type ||= Mime::Type.lookup_by_extension(@formats.first.to_s) if @formats.first
    end
Register or log in to add new notes.