diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 00:49:38 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 00:49:38 +0000 |
commit | e85f8c782958c0a3e6ea296401a08d5fe9f8e550 (patch) | |
tree | 5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/trackback.rb | |
parent | d41bea59c44d97c3936ca806bf05e6221b66dce0 (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/trackback.rb')
-rw-r--r-- | lib/rss/trackback.rb | 4 |
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}= |