summaryrefslogtreecommitdiff
path: root/lib/rss/maker/base.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
commite85f8c782958c0a3e6ea296401a08d5fe9f8e550 (patch)
tree5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/maker/base.rb
parentd41bea59c44d97c3936ca806bf05e6221b66dce0 (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/maker/base.rb')
-rw-r--r--lib/rss/maker/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rss/maker/base.rb b/lib/rss/maker/base.rb
index dbd8bf9041..6d7dd557bf 100644
--- a/lib/rss/maker/base.rb
+++ b/lib/rss/maker/base.rb
@@ -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