summaryrefslogtreecommitdiff
path: root/lib/rss/2.0.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 00:49:38 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 00:49:38 +0000
commite85f8c782958c0a3e6ea296401a08d5fe9f8e550 (patch)
tree5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/2.0.rb
parentd41bea59c44d97c3936ca806bf05e6221b66dce0 (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/2.0.rb')
-rw-r--r--lib/rss/2.0.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/2.0.rb b/lib/rss/2.0.rb
index af6ced9f7c..66474ff76d 100644
--- a/lib/rss/2.0.rb
+++ b/lib/rss/2.0.rb
@@ -48,7 +48,7 @@ EOT
alias _tags09 _tags
def _tags
rv = %w(generator ttl).delete_if do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |elem|
[nil, elem]
end + _tags09
@@ -109,7 +109,7 @@ EOT
alias _tags09 _tags
def _tags
%w(comments author pubDate guid).delete_if do |name|
- send(name).nil?
+ __send__(name).nil?
end.collect do |elem|
[nil, elem]
end + _tags09