--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: ""
comment: 
- !ruby/struct:SM::Flow::P 
  body: This returns the main media type for this message converted to lower case. This is the first portion of the content type. E.g. a content type of <tt>text/plain</tt> has a media type of <tt>text</tt>.
- !ruby/struct:SM::Flow::P 
  body: If there is no content type field, returns the passed block is executed and its return value is returned. If no block is passed, the value of the <tt>default</tt> argument is returned.
full_name: RMail::Header#media_type
is_singleton: false
name: media_type
params: (default = nil) {|| ...}
visibility: public
