BigW Consortium Gitlab

Commit 2df7d035 by Michael Kozono

Redefine `respond_to?` in light of `method_missing`

parent e0a0c6b0
......@@ -290,6 +290,12 @@ module Gitlab
def method_missing(method, *args, &block)
@dn.send(method, *args, &block)
end
##
# Redefined to be consistent with redefined `method_missing` behavior
def respond_to?(sym, include_private = false)
@dn.respond_to?(sym, include_private)
end
end
end
end
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