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
|
@ -91,7 +91,7 @@ module RSS
|
|||
variables.each do |var|
|
||||
setter = "#{var}="
|
||||
if target.respond_to?(setter)
|
||||
value = self.__send__(var)
|
||||
value = __send__(var)
|
||||
if value
|
||||
target.__send__(setter, value)
|
||||
set = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue