summaryrefslogtreecommitdiff
path: root/sample/rss
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-15 11:55:52 +0000
commit3a47cf3395dd4c4fe8bdd5df13aab698f2ca314b (patch)
treec4a278220ba8141b829c5c7b0777c1049cfe413c /sample/rss
parent39da1b63699faf30c86e753e193c29b81b16136d (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sample/rss')
-rwxr-xr-xsample/rss/re_read.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/rss/re_read.rb b/sample/rss/re_read.rb
index ee54a18..c386ab2 100755
--- a/sample/rss/re_read.rb
+++ b/sample/rss/re_read.rb
@@ -24,7 +24,7 @@ ARGV.each do |fname|
File.open(fname) do |f|
source = f.read
end
-
+
rss = nil
read = false
begin
@@ -44,7 +44,7 @@ ARGV.each do |fname|
rescue RSS::Error
error($!) if verbose
end
-
+
if rss.nil?
puts "Invalid feed: #{fname}"
elsif !read