1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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.

* test/rss/test_content.rb: use #__send__ instead of #funcall for
  no private method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2005-11-25 03:54:29 +00:00
parent 456ba712fe
commit 254670b3bc
6 changed files with 50 additions and 10 deletions

View file

@ -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"