aboutsummaryrefslogtreecommitdiffstats
path: root/test/rss/test_1.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-23 09:49:02 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-11-23 09:49:02 +0000
commit73cd292fcd50f301180c536461001df2f3f9c7e9 (patch)
tree7c43d8cf9eb336b45ed84608ff254beca7fdc9e4 /test/rss/test_1.0.rb
parent4cfc20b20d70280c293927c9d4ccc008c4e00c8a (diff)
downloadruby-73cd292fcd50f301180c536461001df2f3f9c7e9.tar.gz
* 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
Diffstat (limited to 'test/rss/test_1.0.rb')
-rw-r--r--test/rss/test_1.0.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/rss/test_1.0.rb b/test/rss/test_1.0.rb
index c37bd84616..5a01e9f5c3 100644
--- a/test/rss/test_1.0.rb
+++ b/test/rss/test_1.0.rb
@@ -28,7 +28,7 @@ module RSS
xmldecl = doc.xml_decl
%w(version encoding).each do |x|
- assert_equal(instance_eval(x), xmldecl.send(x))
+ assert_equal(instance_eval(x), xmldecl.__send__(x))
end
assert_equal(standalone, !xmldecl.standalone.nil?)
@@ -69,7 +69,7 @@ module RSS
channel = RDF::Channel.new(about)
%w(title link description image items textinput).each do |x|
- channel.send("#{x}=", instance_eval(x))
+ channel.__send__("#{x}=", instance_eval(x))
end
doc = REXML::Document.new(make_RDF(channel.to_s))
@@ -187,7 +187,7 @@ module RSS
image = RDF::Image.new(about)
%w(title url link).each do |x|
- image.send("#{x}=", instance_eval(x))
+ image.__send__("#{x}=", instance_eval(x))
end
doc = REXML::Document.new(make_RDF(image.to_s))
@@ -212,7 +212,7 @@ module RSS
item = RDF::Item.new(about)
%w(title link description).each do |x|
- item.send("#{x}=", instance_eval(x))
+ item.__send__("#{x}=", instance_eval(x))
end
doc = REXML::Document.new(make_RDF(item.to_s))
@@ -238,7 +238,7 @@ module RSS
textinput = RDF::Textinput.new(about)
%w(title link name description).each do |x|
- textinput.send("#{x}=", instance_eval(x))
+ textinput.__send__("#{x}=", instance_eval(x))
end
doc = REXML::Document.new(make_RDF(textinput.to_s))