summaryrefslogtreecommitdiffstats
path: root/lib/rss/parser.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 01:28:46 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-06-17 01:28:46 +0000
commitf7297292f3e8c823b00aaba12557c715123e5e0a (patch)
tree81fcc7a474ce90e19acf57390e5b5795849de6c0 /lib/rss/parser.rb
parentd6ee50245ad9f6773ad087905bd9d3dd0c537a30 (diff)
downloadruby-f7297292f3e8c823b00aaba12557c715123e5e0a.tar.gz
ruby-f7297292f3e8c823b00aaba12557c715123e5e0a.tar.xz
ruby-f7297292f3e8c823b00aaba12557c715123e5e0a.zip
* 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
Diffstat (limited to 'lib/rss/parser.rb')
-rw-r--r--lib/rss/parser.rb8
1 files changed, 0 insertions, 8 deletions
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"