Class: Rails::Worktrees::ProjectMaintenance
- Inherits:
-
Object
- Object
- Rails::Worktrees::ProjectMaintenance
- Defined in:
- lib/rails/worktrees/project_maintenance.rb
Overview
Audits and prepares safe file-based maintenance updates for the current checkout. rubocop:disable Metrics/ClassLength, Metrics/MethodLength, Metrics/AbcSize
Defined Under Namespace
Constant Summary collapse
- TEMPLATE_ROOT =
rubocop:enable Style/RedundantStructKeywordInit
File.('../../generators/rails/worktrees/templates', __dir__)
- FILE_ENCODING =
'UTF-8'.freeze
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(root:) ⇒ ProjectMaintenance
constructor
A new instance of ProjectMaintenance.
Constructor Details
#initialize(root:) ⇒ ProjectMaintenance
Returns a new instance of ProjectMaintenance.
53 54 55 |
# File 'lib/rails/worktrees/project_maintenance.rb', line 53 def initialize(root:) @root = root end |