From 46f6b2026802fcd227beaac78c8d29378a96dceb Mon Sep 17 00:00:00 2001 From: kou Date: Wed, 28 Jan 2004 15:19:56 +0000 Subject: * lib/rss: rss/parser.rb is always required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/1.0.rb | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'lib/rss/1.0.rb') diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb index 72b7637122..d3c337eecd 100644 --- a/lib/rss/1.0.rb +++ b/lib/rss/1.0.rb @@ -1,4 +1,4 @@ -require "rss/rss" +require "rss/parser" module RSS @@ -643,10 +643,8 @@ EOT end - if const_defined?(:BaseListener) - RSS10::ELEMENTS.each do |x| - BaseListener.install_get_text_element(x, URI, "#{x}=") - end + RSS10::ELEMENTS.each do |x| + BaseListener.install_get_text_element(x, URI, "#{x}=") end end -- cgit v1.2.3