Class: Avm::Projects::Stereotypes::GitSubrepo::Warp

Inherits:
EacLauncher::Paths::Real show all
Includes:
EacLauncher::Git::SubWarpBase, EacRubyUtils::SimpleCache
Defined in:
lib/avm/projects/stereotypes/git_subrepo/warp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from EacLauncher::Paths::Real

#basename, #dirname, #find_file_with_extension, #find_files_with_extension, #subpath

Constructor Details

#initialize(instance) ⇒ Warp

Returns a new instance of Warp.



19
20
21
22
23
24
25
26
27
# File 'lib/avm/projects/stereotypes/git_subrepo/warp.rb', line 19

def initialize(instance)
  @instance = instance
  check_parent
  init_aux
  push_to_aux
  reset
  assert_target_remote
  super(warped_git)
end

Instance Attribute Details

#instanceObject (readonly)

Returns the value of attribute instance.



17
18
19
# File 'lib/avm/projects/stereotypes/git_subrepo/warp.rb', line 17

def instance
  @instance
end