Class: EacLauncher::Stereotypes::GitSubrepo::Warp

Inherits:
Path
  • Object
show all
Includes:
Eac::SimpleCache
Defined in:
lib/eac_launcher/stereotypes/git_subrepo/warp.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Path

#basename, #find_file_with_extension, #find_files_with_extension, #subpath

Constructor Details

#initialize(instance) ⇒ Warp

Returns a new instance of Warp.



9
10
11
12
13
14
15
16
17
18
# File 'lib/eac_launcher/stereotypes/git_subrepo/warp.rb', line 9

def initialize(instance)
  @instance = instance
  check_parent
  init_aux
  fetch
  push
  reset
  assert_target_remote
  super(cache_git)
end

Instance Attribute Details

#instanceObject (readonly)

Returns the value of attribute instance.



7
8
9
# File 'lib/eac_launcher/stereotypes/git_subrepo/warp.rb', line 7

def instance
  @instance
end