lib/flannel/feed_parser.rb in flannel-0.2.3 vs lib/flannel/feed_parser.rb in flannel-0.2.4

- old
+ new

@@ -2,10 +2,10 @@ require 'open-uri' module Flannel class FeedParser def initialize params={} - @cache = params[:cache] if params.has_key?(:cache) + @cache = params[:cache] if params end def sub_feeds(url) url = format_url(url) get_news(url)