diff options
author | Michael Kozono <mkozono@gmail.com> | 2018-09-27 15:03:42 -0700 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2018-09-27 18:22:37 -0700 |
commit | f2fa7c10c8490a31863c9bd21bbfd66675e3c909 (patch) | |
tree | 62f47f89ceea7afa60326a704181d2c7fb1cf81f /config | |
parent | f807ea334b83526e51d738460edccc2a0651e1c6 (diff) | |
download | gitlab-ce-f2fa7c10c8490a31863c9bd21bbfd66675e3c909.tar.gz |
Remove send-in-send for safety and readability
I attempted to refactor so that the caller of `wrap_method` passes in a
block, rather than a method name, but I was unsuccessful.
I kept getting the following error:
NoMethodError:
undefined method `cache_method_output' for Repository:Class
If you can figure this out, then feel free to dry up these class methods
again without doing a send-within-a-send.
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions