From f7297292f3e8c823b00aaba12557c715123e5e0a Mon Sep 17 00:00:00 2001 From: kou Date: Sat, 17 Jun 2006 01:28:46 +0000 Subject: * lib/rss/rss.rb (Kernel#funcall): removed. * lib/rss/parser.rb (Kernel.URI): removed. * lib/rss/maker/: supported xxx.new_yyy do |yyy| yyy.zzz = zzz ... end style and this style became the style of the recommendation. Old style yyy = xxx.new_yyy yyy.zzz = zzz ... is supported too but this style isn't recommended. [ruby-talk:197284] * test/rss/test_*maker*.rb: used new recommended style. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rss/parser.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'lib/rss/parser.rb') diff --git a/lib/rss/parser.rb b/lib/rss/parser.rb index ace3d262f..10c6be853 100644 --- a/lib/rss/parser.rb +++ b/lib/rss/parser.rb @@ -4,14 +4,6 @@ begin rescue LoadError require "uri" end -unless Kernel.methods.include?("URI") - module Kernel - def URI(uri_str) # :doc: - URI.parse(uri_str) - end - module_function :URI - end -end require "rss/rss" -- cgit