aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss2html
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-05-15 21:38:17 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-05-15 21:38:17 +0200
commitd086c5eabb54599d31c44b8ffddd4f7840a7ddcd (patch)
tree1d1256eac89e8a97c42d113f4dfadcc9e6a75d99 /lib/rss2html
parent0cc7a1e703cd6097c82f41f5385f33cbd0cfcb5a (diff)
downloadrss2html-d086c5eabb54599d31c44b8ffddd4f7840a7ddcd.tar.gz
rss2html-d086c5eabb54599d31c44b8ffddd4f7840a7ddcd.tar.bz2
rss2html-d086c5eabb54599d31c44b8ffddd4f7840a7ddcd.zip
Use instance var url instead of method in fetch.
Diffstat (limited to 'lib/rss2html')
-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|