mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/observer.rb: a patch from nornagon <nornagon@gmail.com>
merged to allow arbitrary names for update methods. [ruby-core:05416] * eval.c (rb_f_fcall): new method to avoid inefficiency of obj.instance_eval{send(...)} tricks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
d2847d92cd
commit
f5ac36f1a3
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ module RSS
|
|||
next_element.do_validate = @do_validate
|
||||
prefix = ""
|
||||
prefix << "#{klass.required_prefix}_" if klass.required_prefix
|
||||
previous.instance_eval {set_next_element(prefix, tag_name, next_element)}
|
||||
previous.fcall(:set_next_element, prefix, tag_name, next_element)
|
||||
@last_element = next_element
|
||||
@proc_stack.push Proc.new { |text, tags|
|
||||
p(@last_element.class) if DEBUG
|
||||
|
|
Loading…
Add table
Reference in a new issue