La clase Proc define un método == que devuelve true si, y sólo si
un Proc es el clone o el duplicado del otro.
p = lambda {|x| x*x }
q = p.dup
p == q # => true: the two procs are equal
p.object_id == q.object_id # => false: they are not the same object
lambda {|x| x*x } == lambda {|x| x*x } # => false