summaryrefslogtreecommitdiffstats
path: root/lib/rss/parser.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-17 04:53:59 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-17 04:53:59 +0000
commit47f59a65333eb7e65ddc767f5626f0764884a7ac (patch)
tree7ebcaf9a665695cab7ef40857c9e5bef4b21d9cd /lib/rss/parser.rb
parenta72784e43450694969191d8ef8aaea6b53f5768f (diff)
downloadruby-47f59a65333eb7e65ddc767f5626f0764884a7ac.tar.gz
ruby-47f59a65333eb7e65ddc767f5626f0764884a7ac.tar.xz
ruby-47f59a65333eb7e65ddc767f5626f0764884a7ac.zip
* lib/rss/rss.rb : removed needless argument 'prefix'.
* lib/rss/parser.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/parser.rb')
-rw-r--r--lib/rss/parser.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb
index 6a0a79cef..cf4368dce 100644
--- a/lib/rss/parser.rb
+++ b/lib/rss/parser.rb
@@ -407,9 +407,7 @@ module RSS
previous = @last_element
next_element = klass.send(:new, *args)
next_element.do_validate = @do_validate
- prefix = ""
- prefix << "#{klass.required_prefix}_" if klass.required_prefix
- previous.funcall(:set_next_element, prefix, tag_name, next_element)
+ previous.funcall(:set_next_element, tag_name, next_element)
@last_element = next_element
@proc_stack.push Proc.new { |text, tags|
p(@last_element.class) if DEBUG