Commit 182e996b authored by Roy Zwambag's avatar Roy Zwambag

Add ... to Gitlab::Lazy

parent 0d27ab60
......@@ -15,10 +15,10 @@ module Gitlab
@block = block
end
def method_missing(name, *args, **kwargs, &block)
def method_missing(...)
__evaluate__
@result.__send__(name, *args, **kwargs, &block) # rubocop:disable GitlabSecurity/PublicSend
@result.__send__(...) # rubocop:disable GitlabSecurity/PublicSend
end
def respond_to_missing?(name, include_private = false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment