mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rss/rss.rb : removed needless argument 'prefix'.
* lib/rss/parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f3727f5928
commit
88a13516ec
3 changed files with 8 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue