summaryrefslogtreecommitdiffstats
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
commitfa9c307fff0e24531b49972fec5268d34deda72a (patch)
treea0a8dee81799b7e8982387ff12dd7baded9dfa09 /lib/rss/1.0.rb
parentcdd7e27d11e3e87c7523734ec6680d3d5fa05abb (diff)
downloadruby-fa9c307fff0e24531b49972fec5268d34deda72a.tar.gz
ruby-fa9c307fff0e24531b49972fec5268d34deda72a.tar.xz
ruby-fa9c307fff0e24531b49972fec5268d34deda72a.zip
* lib/rss: rss/parser.rb is always required.
git-svn-id: http://svn.ruby-lang.org/repos/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 72b763712..d3c337eec 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