Class: Avm::Git::Launcher::WarpBase
- Inherits:
-
Launcher::Paths::Real
- Object
- Launcher::Paths::Real
- Avm::Git::Launcher::WarpBase
- Includes:
- EacRubyUtils::SimpleCache
- Defined in:
- lib/avm/git/launcher/warp_base.rb
Overview
Métodos abstratos:
* source_instance
* source_remote_name
* current_ref
Direct Known Subclasses
Avm::Git::LauncherStereotypes::Git::Warp, Avm::Git::LauncherStereotypes::GitSubtree::Warp
Constant Summary collapse
- TARGET_REMOTE =
::Avm::Git::LauncherStereotypes::Git::Publish::PUBLISH_GIT_REMOTE_NAME
Instance Method Summary collapse
-
#initialize(instance) ⇒ WarpBase
constructor
A new instance of WarpBase.
Constructor Details
#initialize(instance) ⇒ WarpBase
Returns a new instance of WarpBase.
20 21 22 23 24 25 |
# File 'lib/avm/git/launcher/warp_base.rb', line 20 def initialize(instance) @instance = instance cache_git.git.reset_hard(current_ref) cache_git.remote(TARGET_REMOTE).url = target_remote_url super(path) end |