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 | 9dc733281997c4c6668dfd02561c0d9621988759 (patch) | |
| tree | 5d101a43288cc7927f58d31f06327a5b3262fcb6 /lib/rss/2.0.rb | |
| parent | 31a4ef12b792af7e7959bc474fbf6b40d8c25c3d (diff) | |
| download | ruby-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/2.0.rb')
| -rw-r--r-- | lib/rss/2.0.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss/2.0.rb b/lib/rss/2.0.rb index af6ced9f7..66474ff76 100644 --- a/lib/rss/2.0.rb +++ b/lib/rss/2.0.rb @@ -48,7 +48,7 @@ EOT alias _tags09 _tags def _tags rv = %w(generator ttl).delete_if do |name| - send(name).nil? + __send__(name).nil? end.collect do |elem| [nil, elem] end + _tags09 @@ -109,7 +109,7 @@ EOT alias _tags09 _tags def _tags %w(comments author pubDate guid).delete_if do |name| - send(name).nil? + __send__(name).nil? end.collect do |elem| [nil, elem] end + _tags09 |
