Skip to content
  • Jeremy Evans's avatar
    878af514
    Implement Proc#== and #eql? · 878af514
    Jeremy Evans authored
    Previously, these were not implemented, and Object#== and #eql?
    were used.  This tries to check the proc internals to make sure
    that procs created from separate blocks are treated as not equal,
    but procs created from the same block are treated as equal, even
    when the lazy proc allocation optimization is used.
    
    Implements [Feature #14267]
    878af514
    Implement Proc#== and #eql?
    Jeremy Evans authored
    Previously, these were not implemented, and Object#== and #eql?
    were used.  This tries to check the proc internals to make sure
    that procs created from separate blocks are treated as not equal,
    but procs created from the same block are treated as equal, even
    when the lazy proc allocation optimization is used.
    
    Implements [Feature #14267]
Loading