• Yorick Peterse's avatar
    Use Module#prepend for method instrumentation · 7b6785b3
    Yorick Peterse authored
    By using Module#prepend we can define a Module containing all proxy
    methods. This removes the need for setting up crazy method alias chains
    and in turn prevents us from having to deal with all that madness (e.g.
    methods calling each other recursively).
    
    Fixes gitlab-org/gitlab-ce#15281
    7b6785b3
instrumentation.rb 5.61 KB