diff options
| author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 01:04:31 +0000 |
|---|---|---|
| committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-06-17 01:04:31 +0000 |
| commit | d6ee50245ad9f6773ad087905bd9d3dd0c537a30 (patch) | |
| tree | 69741dee756af0a86c03e3bae8d2574a839fc426 /lib/rss/rss.rb | |
| parent | 02ca9a241096ea6f386203418d8a6e4d35163ec0 (diff) | |
| download | ruby-d6ee50245ad9f6773ad087905bd9d3dd0c537a30.tar.gz ruby-d6ee50245ad9f6773ad087905bd9d3dd0c537a30.tar.xz ruby-d6ee50245ad9f6773ad087905bd9d3dd0c537a30.zip | |
* lib/rss, test/rss: backported from trunk. (2005-11-16 - now)
* lib/rss/rss.rb: added backward compatibility codes.
* lib/rss/parser.rb: ditto.
* test/rss/test_parser.rb: ditto.
* test/rss/test_2.0.rb: ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/rss.rb')
| -rw-r--r-- | lib/rss/rss.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb index 589478665..f424f1617 100644 --- a/lib/rss/rss.rb +++ b/lib/rss/rss.rb @@ -52,6 +52,14 @@ class Hash end end +module Kernel + unless methods.include?("funcall") + def funcall(*args, &block) + __send__(*args, &block) + end + end +end + require "English" require "rss/utils" require "rss/converter" |
