instance method
content_type
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
content_type()
No documentation comment.
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb, line 771
def content_type
ensure_parsed
@sub ? sprintf('%s/%s', @main, @sub) : @main
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.3/tmail/header.rb line 771
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::ContentTypeHeader