Class: Gitlab::ImportExport::Project::Sample::RelationTreeRestorer

Inherits:
RelationTreeRestorer show all
Defined in:
lib/gitlab/import_export/project/sample/relation_tree_restorer.rb

Constant Summary

Constants inherited from RelationTreeRestorer

RelationTreeRestorer::GROUP_MODELS

Instance Method Summary collapse

Methods inherited from Group::RelationTreeRestorer

#restore

Constructor Details

#initializeRelationTreeRestorer

Returns a new instance of RelationTreeRestorer.



8
9
10
11
12
# File 'lib/gitlab/import_export/project/sample/relation_tree_restorer.rb', line 8

def initialize(...)
  super(...)

  @date_calculator = Gitlab::ImportExport::Project::Sample::DateCalculator.new(dates)
end