From: Yukihiro Matsumoto Date: 2004-10-20T01:30:59+09:00 Subject: Re: Proc#dup? Hi, In message "Re: Proc#dup?" on Tue, 19 Oct 2004 23:38:21 +0900, Jamis Buck writes: |> No. Both clone and dup should cause error (there should not be any |> problem since Proc is immutable). Thank you. | |Hmmm. That's not the answer I was hoping for, actually. ;) | |Here's what I'm trying to do. I want to be able to add new methods to a |proc's singleton class, but I don't want to modify the object that was |passed to me. Then, I would like to be able to pass the new block to |other methods that expect blocks (using the ampersand syntax). Hmm, singletons. That's good reason to leave clone. Let me consider. matz.