summaryrefslogtreecommitdiffstats
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
commit11077baae97e7a03ce9db488c3ab7d59083466d4 (patch)
tree7c43d8cf9eb336b45ed84608ff254beca7fdc9e4 /test/rss/test_1.0.rb
parentb1f8c4eca042dd718d14c7150d8a9165e3c4b41e (diff)
downloadruby-11077baae97e7a03ce9db488c3ab7d59083466d4.tar.gz
ruby-11077baae97e7a03ce9db488c3ab7d59083466d4.tar.xz
ruby-11077baae97e7a03ce9db488c3ab7d59083466d4.zip
* lib/rss/: use #__send__ instead of #send.
* test/rss/: ditto. git-svn-id: http://svn.ruby-lang.org/repos/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 c37bd8461..5a01e9f5c 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))