summaryrefslogtreecommitdiff
path: root/lib/rss/rss.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 11:33:50 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-06 11:33:50 +0000
commitcbcb626ee5110ccf752309683d04654e0a83585f (patch)
treeffbcfa52d83421e16437dd5ee25cddd91b2bd261 /lib/rss/rss.rb
parent0d59cd79cc791047842a98d210b5a35267ba3602 (diff)
downloadruby-cbcb626ee5110ccf752309683d04654e0a83585f.tar.gz
* lib/rss/rss.rb, lib/rss/parser.rb: removed needless code for
backward compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rss/rss.rb')
-rw-r--r--lib/rss/rss.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/lib/rss/rss.rb b/lib/rss/rss.rb
index f424f16171..77a8584884 100644
--- a/lib/rss/rss.rb
+++ b/lib/rss/rss.rb
@@ -30,35 +30,6 @@ class Time
end
end
-module Enumerable
- unless instance_methods.include?("sort_by")
- def sort_by
- collect do |x|
- [yield(x), x]
- end.sort do |x, y|
- x[0] <=> y[0]
- end.collect! do |x|
- x[1]
- end
- end
- end
-end
-
-class Hash
- unless instance_methods.include?("merge")
- def merge(other)
- dup.update(other)
- end
- end
-end
-
-module Kernel
- unless methods.include?("funcall")
- def funcall(*args, &block)
- __send__(*args, &block)
- end
- end
-end
require "English"
require "rss/utils"