diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 00:49:38 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 00:49:38 +0000 |
commit | e85f8c782958c0a3e6ea296401a08d5fe9f8e550 (patch) | |
tree | 5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/1.0.rb | |
parent | d41bea59c44d97c3936ca806bf05e6221b66dce0 (diff) |
* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)
* lib/rss/: use #__send__ instead of #send.
* test/rss/: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@10294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/1.0.rb')
-rw-r--r-- | lib/rss/1.0.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/rss/1.0.rb b/lib/rss/1.0.rb index 00d8c3abdb..6603d525d3 100644 --- a/lib/rss/1.0.rb +++ b/lib/rss/1.0.rb @@ -87,7 +87,7 @@ module RSS rv = [ [::RSS::URI, "channel"], [::RSS::URI, "image"], - ].delete_if {|uri, name| send(name).nil?} + ].delete_if {|uri, name| __send__(name).nil?} @item.each do |item| rv << [::RSS::URI, "item"] end @@ -326,7 +326,7 @@ module RSS [::RSS::URI, 'items'], [::RSS::URI, 'textinput'], ].delete_if do |uri, name| - send(name).nil? + __send__(name).nil? end end @@ -532,7 +532,7 @@ module RSS [::RSS::URI, 'url'], [::RSS::URI, 'link'], ].delete_if do |uri, name| - send(name).nil? + __send__(name).nil? end end @@ -602,7 +602,7 @@ module RSS [::RSS::URI, 'link'], [::RSS::URI, 'description'], ].delete_if do |uri, name| - send(name).nil? + __send__(name).nil? end end @@ -679,7 +679,7 @@ module RSS [::RSS::URI, 'name'], [::RSS::URI, 'link'], ].delete_if do |uri, name| - send(name).nil? + __send__(name).nil? end end |