Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-06-07 23:51:20 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-06-07 23:51:20 +0300
commit3010dc9ecab0267dd17b82722a4c22c478ee9f07 (patch)
tree85f2c64d1e449cee42424ab6cda68396d18743d8 /lib
parent338041562770d6b88aec0e367f8378b4cdf5f918 (diff)
Add latest changes from gitlab-org/gitlab@16-0-stable-ee
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab_settings/options.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab_settings/options.rb b/lib/gitlab_settings/options.rb
index 5bdac74c2f6..077c1aa944a 100644
--- a/lib/gitlab_settings/options.rb
+++ b/lib/gitlab_settings/options.rb
@@ -43,6 +43,10 @@ module GitlabSettings
end
alias_method :to_h, :to_hash
+ def dup
+ self.class.build(to_hash)
+ end
+
def merge(other)
self.class.build(to_hash.merge(other.deep_stringify_keys))
end