Module: Avm::Git::Launcher::Base::Underlying

Included in:
Avm::Git::Launcher::Base
Defined in:
lib/avm/git/launcher/base/underlying.rb

Instance Method Summary collapse

Instance Method Details

#command(*args) ⇒ Object



13
14
15
16
17
18
19
20
# File 'lib/avm/git/launcher/base/underlying.rb', line 13

def command(*args)
  args, options = build_args(args)
  r = ::EacGit::Executables.git.command(*args)
  (options[:exit_outputs] || {}).each do |status_code, result|
    r = r.status_result(status_code, result)
  end
  r
end

#initObject



30
31
32
33
# File 'lib/avm/git/launcher/base/underlying.rb', line 30

def init
  git
  self
end