We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 796a92a commit 438e64bCopy full SHA for 438e64b
lib/gitlab.rb
@@ -22,18 +22,10 @@ def self.client(options = {})
22
Gitlab::Client.new(options)
23
end
24
25
- if Gem::Version.new(RUBY_VERSION).release >= Gem::Version.new('3.0.0')
26
- def self.method_missing(method, *, **keywargs, &)
27
- return super unless client.respond_to?(method)
28
-
29
- client.send(method, *, **keywargs, &)
30
- end
31
- else
32
- def self.method_missing(method, *, &)
33
34
35
- client.send(method, *, &)
36
+ def self.method_missing(method, *, **keywargs, &)
+ return super unless client.respond_to?(method)
+
+ client.send(method, *, **keywargs, &)
37
38
39
# Delegate to Gitlab::Client
0 commit comments