From 73cd292fcd50f301180c536461001df2f3f9c7e9 Mon Sep 17 00:00:00 2001 From: kou Date: Wed, 23 Nov 2005 09:49:02 +0000 Subject: * lib/rss/: use #__send__ instead of #send. * test/rss/: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/xml-stylesheet.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/rss/xml-stylesheet.rb') diff --git a/lib/rss/xml-stylesheet.rb b/lib/rss/xml-stylesheet.rb index 05602eee9b..66e3161dd0 100644 --- a/lib/rss/xml-stylesheet.rb +++ b/lib/rss/xml-stylesheet.rb @@ -37,13 +37,13 @@ module RSS def initialize(*attrs) @do_validate = true ATTRIBUTES.each do |attr| - self.send("#{attr}=", nil) + __send__("#{attr}=", nil) end vars = ATTRIBUTES.dup vars.unshift(:do_validate) attrs.each do |name, value| if vars.include?(name.to_s) - self.send("#{name}=", value) + __send__("#{name}=", value) end end end @@ -53,8 +53,8 @@ module RSS if @href rv << %Q[] -- cgit v1.2.3