aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rss2html/feed.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss2html/feed.rb b/lib/rss2html/feed.rb
index 28d395c..f0840d7 100644
--- a/lib/rss2html/feed.rb
+++ b/lib/rss2html/feed.rb
@@ -33,7 +33,7 @@ module Rss2Html
end
def fetch
- open(url) do |rss|
+ open(@url) do |rss|
feed = RSS::Parser.parse(rss)
feed.entries.each do |item|