[前][次][番号順一覧][スレッド一覧]

ruby-changes:12866

From: nobu <ko1@a...>
Date: Fri, 21 Aug 2009 00:08:24 +0900 (JST)
Subject: [ruby-changes:12866] Ruby:r24599 (trunk): * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.

nobu	2009-08-21 00:08:07 +0900 (Fri, 21 Aug 2009)

  New Revision: 24599

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24599

  Log:
    * lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.

  Modified files:
    trunk/ChangeLog
    trunk/lib/rdoc/ri/paths.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 24598)
+++ ChangeLog	(revision 24599)
@@ -1,3 +1,7 @@
+Fri Aug 21 00:08:01 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* lib/rdoc/ri/paths.rb (RDoc::RI::Paths): Gem::Enable has been obsolete.
+
 Thu Aug 20 23:56:15 2009  Nobuyoshi Nakada  <nobu@r...>
 
 	* io.c (rb_sysopen): moved sysopen_struct from rb_sysopen_internal.
Index: lib/rdoc/ri/paths.rb
===================================================================
--- lib/rdoc/ri/paths.rb	(revision 24598)
+++ lib/rdoc/ri/paths.rb	(revision 24599)
@@ -52,8 +52,7 @@
   HOMEDIR = (File.expand_path("~/.#{rdoc}") rescue nil)
 
   begin
-    require 'rubygems' unless defined?(Gem) and defined?(Gem::Enable) and
-                              Gem::Enable
+    require 'rubygems' unless defined?(Gem)
 
     # HACK dup'd from Gem.latest_partials and friends
     all_paths = []

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]