From 1beba4bae98c2d6af47283cc2fe21c88225f8f0d Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 15 May 2015 20:06:28 +0200 Subject: Pass title in args, no need for a separate arg. --- bin/rss2html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin/rss2html') diff --git a/bin/rss2html b/bin/rss2html index 14febfa..0661360 100755 --- a/bin/rss2html +++ b/bin/rss2html @@ -29,7 +29,7 @@ end feeds = YAML.load(IO.read(config_file)) items = [] -feeds.each do |t, f| - feed = Rss2Html::Feed.new(t, f) +feeds.each do |k, f| + feed = Rss2Html::Feed.new(f) puts feed.render end -- cgit v1.2.3