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

ruby-reference-manual:2050

From: Kazuhiro NISHIYAMA <redmine@r...>
Date: Fri, 26 Mar 2010 19:17:43 +0900
Subject: [ruby-reference-manual:2050] [Bug #3017] Pathname#realpath

Bug #3017: Pathname#realpath
http://redmine.ruby-lang.org/issues/show/3017

起票者: Kazuhiro NISHIYAMA
ステータス: Open, 優先度: Normal
カテゴリ: doc

引数の説明が古いままです。
現状は以下の通りです。

%  bitclust/tools/forall-ruby.rb -r pathname -e 'Dir.chdir("/");p Pathname.new("tmp").realpath("/var")'
ruby 1.8.0 (2003-08-04) [x86_64-linux]
#<Pathname:/tmp>
ruby 1.8.1 (2003-12-25) [x86_64-linux]
The argument for Pathname#realpath is obsoleted.
#<Pathname:/tmp>
ruby 1.8.2 (2004-12-25) [x86_64-linux]
The argument for Pathname#realpath is obsoleted.
#<Pathname:/tmp>
ruby 1.8.3 (2005-09-21) [x86_64-linux]
The argument for Pathname#realpath is obsoleted.
#<Pathname:/tmp>
ruby 1.8.4 (2005-12-24) [x86_64-linux]
The argument for Pathname#realpath is obsoleted.
#<Pathname:/tmp>
ruby 1.8.5 (2008-03-03 patchlevel 115) [x86_64-linux]
-e:1:in `realpath': wrong number of arguments (1 for 0) (ArgumentError)
        from -e:1
ruby 1.8.6 (2009-08-26 patchlevel 387) [x86_64-linux]
-e:1:in `realpath': wrong number of arguments (1 for 0) (ArgumentError)
        from -e:1
ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.01
-e:1:in `realpath': wrong number of arguments (1 for 0) (ArgumentError)
        from -e:1
ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux]
-e:1:in `realpath': wrong number of arguments (1 for 0) (ArgumentError)
        from -e:1
ruby 1.8.8dev (2010-03-25 revision 27034) [x86_64-linux]
-e:1:in `realpath': wrong number of arguments (1 for 0) (ArgumentError)
        from -e:1
ruby 1.9.1p420 (2010-02-04 revision 26571) [x86_64-linux]
-e:1:in `<main>': wrong number of arguments (1 for 0) (ArgumentError)
ruby 1.9.2dev (2010-03-25 trunk 27039) [x86_64-linux]
#<Pathname:/var/tmp>


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

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

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

->    2050 2010-03-26 11:17 [redmine@r...        ] [Bug #3017] Pathname#realpath           
      2093 2010-04-05 13:27 ┗[redmine@r...        ] [Bug #3017](Closed) Pathname#realpath