method
same_feed_type?
same_feed_type?(type)
private
Hide source
# File lib/rss/rss.rb, line 1306 def same_feed_type?(type) if /^(atom|rss)?(\d+\.\d+)?(?::(.+))?$/ =~ type feed_type = ($1 || @feed_type).downcase feed_version = $2 || @feed_version feed_subtype = $3 || @feed_subtype [feed_type, feed_version, feed_subtype] == feed_info else false end end