"Nathaniel Talbott" <ntalbott / rolemodelsoft.com> wrote
.....
> def a(b, &c)
>         p b == c
>         p b, c
>         p b.hash, c.hash
> end
>
> d = proc {}
> a(d, &d)

--------
def a(b, &c)
        p b.id, c.id
        p b.eql? c
        p b, c
        p b.hash, c.hash
end

d = proc {}
a(d, &d)
--------

84032180
84031908
false
#<Proc:0xa047628>
#<Proc:0xa047628>
84032180
84031908

/Christoph