Class: Gitlab::BackgroundMigration::BackfillSecurityProjectTrackedContextsDefaultBranch::Storage::LegacyProject
- Inherits:
-
Object
- Object
- Gitlab::BackgroundMigration::BackfillSecurityProjectTrackedContextsDefaultBranch::Storage::LegacyProject
- Defined in:
- lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb
Instance Attribute Summary collapse
-
#project ⇒ Object
Returns the value of attribute project.
Instance Method Summary collapse
- #disk_path ⇒ Object
-
#initialize(project) ⇒ LegacyProject
constructor
A new instance of LegacyProject.
Constructor Details
#initialize(project) ⇒ LegacyProject
Returns a new instance of LegacyProject.
77 78 79 |
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 77 def initialize(project) @project = project end |
Instance Attribute Details
#project ⇒ Object
Returns the value of attribute project.
75 76 77 |
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 75 def project @project end |
Instance Method Details
#disk_path ⇒ Object
81 82 83 |
# File 'lib/gitlab/background_migration/backfill_security_project_tracked_contexts_default_branch.rb', line 81 def disk_path project.full_path end |