ruby-changes:17271
From: nobu <ko1@a...>
Date: Thu, 16 Sep 2010 21:03:40 +0900 (JST)
Subject: [ruby-changes:17271] Ruby:r29272 (trunk): * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil
nobu 2010-09-16 21:02:34 +0900 (Thu, 16 Sep 2010) New Revision: 29272 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29272 Log: * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil if $HOME is unset. Modified files: trunk/ChangeLog trunk/lib/rdoc/ri/paths.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 29271) +++ ChangeLog (revision 29272) @@ -1,3 +1,8 @@ +Thu Sep 16 21:02:30 2010 Nobuyoshi Nakada <nobu@r...> + + * lib/rdoc/ri/paths.rb (RDoc::RI::Paths.each): HOMEDIR can be nil + if $HOME is unset. + Thu Sep 16 20:16:07 2010 Akinori MUSHA <knu@i...> * LEGAL: Rephrase the leading sentences for clarification. Avoid Index: lib/rdoc/ri/paths.rb =================================================================== --- lib/rdoc/ri/paths.rb (revision 29271) +++ lib/rdoc/ri/paths.rb (revision 29272) @@ -26,7 +26,7 @@ # true # :site:: Where ri for installed libraries are stored. Yielded when # +site+ is true. Normally no ri data is stored here. - # :home:: ~/.ri. Yielded when +home+ is true. + # :home:: ~/.rdoc. Yielded when +home+ is true. # :gem:: ri data for an installed gem. Yielded when +gems+ is true. # :extra:: ri data directory from the command line. Yielded for each # entry in +extra_dirs+ @@ -38,7 +38,7 @@ yield SYSDIR, :system if system yield SITEDIR, :site if site - yield HOMEDIR, :home if home + yield HOMEDIR, :home if home and HOMEDIR gemdirs.each do |dir| yield dir, :gem -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/