diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-02 14:53:02 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-02 14:53:02 +0000 |
| commit | 4d5513d4697170120a2068e18263d416d5cd9d8b (patch) | |
| tree | 6d1723d76ff18cb42093f13789963dbac3214a16 /lib/rss/parser.rb | |
| parent | 778687ab738e00eb1ca0c5630fc4c727adf3fdb5 (diff) | |
| download | ruby-4d5513d4697170120a2068e18263d416d5cd9d8b.tar.gz ruby-4d5513d4697170120a2068e18263d416d5cd9d8b.tar.xz ruby-4d5513d4697170120a2068e18263d416d5cd9d8b.zip | |
* lib: do not use __send__ to access private methods. [ruby-dev:26935]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/parser.rb')
| -rw-r--r-- | lib/rss/parser.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb index df268da1e..6b3fe0641 100644 --- a/lib/rss/parser.rb +++ b/lib/rss/parser.rb @@ -409,7 +409,7 @@ module RSS next_element.do_validate = @do_validate prefix = "" prefix << "#{klass.required_prefix}_" if klass.required_prefix - previous.__send__(:set_next_element, prefix, tag_name, next_element) + previous.instance_eval {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 |
