From: Nathan Weizenbaum Date: 2007-06-06T06:40:53+09:00 Subject: Re: Proc.== Eric Hodel wrote: > Proc#== works no differently than Object#==. proc {} == proc {} due > to an implementation detail. To make this work the way you think it > should work you'd need to walk the ASTs and so-forth of each proc. > > Since we're talking about something implemented in C, I feel that > "same" means pointers, not walking ASTs. I think David's point isn't that "proc { foo } == proc { foo }" should be true, but that saying that == returns true "if they are both procs with the same body" implies that it will be true, and thus that the docs should be changed. - Nathan