method
xml_type?
xml_type?()
private
Hide source
# File lib/rss/maker/feed.rb, line 403 def xml_type? _type = type return false if _type.nil? _type == "xhtml" or /(?:\+xml|\/xml)$/ =~ _type or %(text/xml-external-parsed-entity application/xml-external-parsed-entity application/xml-dtd).include?(_type.downcase) end