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