Method: EacLauncher::Git::WarpBase#initialize

Defined in:
lib/eac_launcher/git/warp_base.rb

#initialize(instance) ⇒ WarpBase

Returns a new instance of WarpBase.



18
19
20
21
22
23
# File 'lib/eac_launcher/git/warp_base.rb', line 18

def initialize(instance)
  @instance = instance
  cache_git.git.reset_hard(current_ref)
  cache_git.remote(TARGET_REMOTE).url = target_remote_url
  super(path)
end