summaryrefslogtreecommitdiff
path: root/lib/rss/trackback.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/trackback.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/trackback.rb')
-rw-r--r--lib/rss/trackback.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/trackback.rb b/lib/rss/trackback.rb
index 3a5304a8f4..ad6954f3f5 100644
--- a/lib/rss/trackback.rb
+++ b/lib/rss/trackback.rb
@@ -70,7 +70,7 @@ module RSS
if args.empty?
@#{var_name}.first and @#{var_name}.first.value
else
- ret = @#{var_name}.send("[]", *args)
+ ret = @#{var_name}.__send__("[]", *args)
if ret.is_a?(Array)
ret.collect {|x| x.value}
else
@@ -94,7 +94,7 @@ module RSS
else
new_val = Utils.new_with_value_if_need(#{klass_name}, new_val)
end
- @#{var_name}.send("[]=", *(args[0..-2] + [new_val]))
+ @#{var_name}.__send__("[]=", *(args[0..-2] + [new_val]))
end
end
alias set_#{var_name} #{var_name}=