summaryrefslogtreecommitdiffstats
path: root/lib/rss/trackback.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
commit9dc733281997c4c6668dfd02561c0d9621988759 (patch)
tree5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/trackback.rb
parent31a4ef12b792af7e7959bc474fbf6b40d8c25c3d (diff)
downloadruby-9dc733281997c4c6668dfd02561c0d9621988759.tar.gz
ruby-9dc733281997c4c6668dfd02561c0d9621988759.tar.xz
ruby-9dc733281997c4c6668dfd02561c0d9621988759.zip
* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)
* lib/rss/: use #__send__ instead of #send. * test/rss/: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10294 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 3a5304a8f..ad6954f3f 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}=