summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab_spec.rb
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2016-04-15 18:31:01 +0200
committerYorick Peterse <yorickpeterse@gmail.com>2016-04-18 11:16:31 +0200
commit7b6785b3b1d03ef8512e098285744e9956ec0891 (patch)
tree405f6ae067a5be2456497d56686b49ab21fc1e28 /spec/lib/gitlab_spec.rb
parent6d899f46b577190eade2db9be548dcda271a9023 (diff)
downloadgitlab-ce-fix-method-instrumentation.tar.gz
Use Module#prepend for method instrumentationfix-method-instrumentation
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
Diffstat (limited to 'spec/lib/gitlab_spec.rb')
0 files changed, 0 insertions, 0 deletions