summaryrefslogtreecommitdiff
path: root/lib/rss/0.9.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 /lib/rss/0.9.rb
parent4cfc20b20d70280c293927c9d4ccc008c4e00c8a (diff)
* 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 'lib/rss/0.9.rb')
-rw-r--r--lib/rss/0.9.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rss/0.9.rb b/lib/rss/0.9.rb
index 41b8fced73..56fdfb3618 100644
--- a/lib/rss/0.9.rb
+++ b/lib/rss/0.9.rb
@@ -79,7 +79,7 @@ module RSS
[
[nil, 'channel'],
].delete_if do |uri, name|
- send(name).nil?
+ __send__(name).nil?
end
end
@@ -195,7 +195,7 @@ module RSS
"textInput",
"cloud",
].delete_if do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |elem|
[nil, elem]
end
@@ -358,7 +358,7 @@ module RSS
private
def _tags
%w(url title link width height description).delete_if do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |elem|
[nil, elem]
end
@@ -460,7 +460,7 @@ module RSS
def _tags
rv = %w(title link description author comments
source enclosure).delete_if do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |name|
[nil, name]
end
@@ -635,7 +635,7 @@ module RSS
private
def _tags
%w(title description name link).each do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |elem|
[nil, elem]
end