[#40498] autoload SYMBOL, XX.rb — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
8 messages
2005/01/08
[#40501] getopt — keiju@... (Keiju ISHITSUKA)
けいじゅ@いしつかです.
6 messages
2005/01/08
[#40519] What is singletonclass.superclass ? — sheepman <sheepman@...>
こんにちは、sheepman です。
6 messages
2005/01/11
[#40523] Re: アクセス情報の取得について — yuushi44@...
酒匂様、神戸様
4 messages
2005/01/12
[#40546] Net::IMAPの中のinlenって何ですか? — 内木場 美次 <uchikoba@...>
はじめまして。Rubyを始めて2ヶ月ちょっとの
6 messages
2005/01/20
[#40551] Net::IMAPで既に存在するディレクトリが削除できない — 内木場 美次 <uchikoba@...>
お疲れ様です。内木場です。
13 messages
2005/01/21
[#40571] dupとfrozen — Chikara Takamatsu <c_takamatu@...>
始めまして。高松と申します。
5 messages
2005/01/25
[#40580] enum 定数する場合のイディオム — Hiroshi Takagi <gollum@...>
高木@関西のネットワーク屋%Ruby novice monk です。
12 messages
2005/01/27
[#40581] Re: enum 定数する場合のイディオム
— "U.Nakamura" <usa@...>
2005/01/27
こんにちは、なかむら(う)です。
[ruby-list:40566] Re: リファレンスのFileUtils.rmの記述に誤り?
From:
sheepman <sheepman@...>
Date:
2005-01-23 13:34:59 UTC
List:
ruby-list #40566
こんばんは、sheepman です。
On Sun, 23 Jan 2005 21:05:21 +0900
Gimite <gimite@gimite.ddo.jp> wrote:
> FileUtils.rm('NotExistFile', :force => true)
>
> と書くと、うまくいくようです。これはリファレンスの書き間違えでしょうか…?
> FileUtilsの他のメソッドについても、同様の箇所が有ります。
> http://www.ruby-lang.org/ja/man/index.cgi?cmd=view;name=fileutils.rb#FileUtils.2erm
>
リファレンスが間違っているようです。直しておきます。
RDoc にも間違いがあるようです。
Index: fileutils.rb
===================================================================
RCS file: /src/ruby/lib/fileutils.rb,v
retrieving revision 1.51
diff -u -r1.51 fileutils.rb
--- fileutils.rb 1 Jan 2005 08:59:48 -0000 1.51
+++ fileutils.rb 23 Jan 2005 13:32:44 -0000
@@ -370,7 +370,7 @@
#
# # Examples of copying several files to target directory.
# FileUtils.cp_r %w(mail.rb field.rb debug/), site_ruby + '/tmail'
- # FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', :noop, :verbose
+ # FileUtils.cp_r Dir.glob('*.rb'), '/home/aamine/lib/ruby', { :noop => true, :verbose => true}
#
# # If you want to copy all contents of a directory instead of the
# # directory itself, c.f. src/x -> dest/x, src/y -> dest/y,
--
sheepman / TAMURA Takashi
sheepman@tcn.zaq.ne.jp http://sheepman.parfait.ne.jp/