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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb')
-rw-r--r--lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb b/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb
index b43d0a0c3eb..e38496ecf67 100644
--- a/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb
+++ b/lib/gitlab/import_export/after_export_strategies/base_after_export_strategy.rb
@@ -17,11 +17,11 @@ module Gitlab
public
def initialize(attributes = {})
- @options = OpenStruct.new(attributes)
+ @options = attributes
+ end
- self.class.instance_eval do
- def_delegators :@options, *attributes.keys
- end
+ def method_missing(method, *args)
+ @options[method]
end
def execute(current_user, project)