[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37245] [Bug #807] Gem::Validator#remove_leading_dot_dir should be private

From: okkez _ <redmine@...>
Date: 2008-12-02 09:15:16 UTC
List: ruby-dev #37245
Bug #807: Gem::Validator#remove_leading_dot_dir should be private
http://redmine.ruby-lang.org/issues/show/807

起票者: okkez _
ステータス: Open, 優先度: Normal
カテゴリ: lib

以下の一ヶ所でしか使われていないので Gem::Validator#remove_leading_dot_dir は private にした方がいいと思います。

$ rak remove_leading_dot_dir
rubygems/validator.rb
 107|            installed_files.delete remove_leading_dot_dir(entry['path'])
 203|  def remove_leading_dot_dir(path)

Index: validator.rb
===================================================================
--- validator.rb        (revision 20439)
+++ validator.rb        (working copy)
@@ -200,6 +200,7 @@
     Dir.chdir(start_dir)
   end
 
+  private
   def remove_leading_dot_dir(path)
     path.sub(/^\.\//, "")
   end


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next