aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rss/1.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-28 15:19:56 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-28 15:19:56 +0000
commit46f6b2026802fcd227beaac78c8d29378a96dceb (patch)
treea0a8dee81799b7e8982387ff12dd7baded9dfa09 /lib/rss/1.0.rb
parent202bf6618f39f48e81b7bb3c67114a22c2eeda16 (diff)
downloadruby-46f6b2026802fcd227beaac78c8d29378a96dceb.tar.gz
* 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
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r--lib/rss/1.0.rb8
1 files changed, 3 insertions, 5 deletions
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