diff options
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r-- | lib/rss/1.0.rb | 8 |
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 |