[#927] UnboundMethod#to_proc — Dave Thomas <dave@...>

I'm wondering what I can do with a Proc generated by

17 messages 2003/04/06

Re: [patch] fileutils.rb - bug in 'rm_r'

From: Minero Aoki <aamine@...>
Date: 2003-04-15 10:45:10 UTC
List: ruby-core #963
Hi,

  In mail "Re: [patch] fileutils.rb - bug in 'rm_r'"
    matz@ruby-lang.org (Yukihiro Matsumoto) wrote:

> |I believe there is a bug in the "FileUtils.rm_r" method.
> |The error I get if I do

> |seem wrong. Such an error (NoMethodError) should problably not be
> |seen by the user of the module. With the patch supplied below the
> |error is changed to

> |which is closer to the actual cause of the error (that the file
> |doesn't exist).
> 
> Thank you.  I will merge your fix.

I have merged his patch now.
Thanks anyway.

-- Minero Aoki

In This Thread

Prev Next