Flowdock
method

find_part

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: MailersController
find_part(format) public

No documentation

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

Hide source
# File railties/lib/rails/mailers_controller.rb, line 78
    def find_part(format) # :doc:
      if part = @email.find_first_mime_type(format)
        part
      elsif @email.mime_type == format
        @email
      end
    end
Register or log in to add new notes.