mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
4cfc20b20d
commit
73cd292fcd
17 changed files with 117 additions and 99 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue