method
mime_split
mime_split()
public
Hide source
# File lib/rss/atom.rb, line 565 def mime_split media_type = subtype = nil if /\A\s*([a-z]+)\/([a-z\+]+)\s*(?:;.*)?\z/ =~ @type.to_s media_type = $1.downcase subtype = $2.downcase end [media_type, subtype] end