class Object

Constants

CWD
LIBGIT2_DIR
MAKE

Public Instance Methods

repo() click to toggle source

Loaded by script/console. Land helpers here.

# File lib/rugged/console.rb, line 3
def repo
  Rugged::Repository.new(File.expand_path('../../../', __FILE__))
end
sys(cmd) click to toggle source
# File ext/rugged/extconf.rb, line 10
def sys(cmd)
  puts " -- #{cmd}"
  unless ret = xsystem(cmd)
    raise "ERROR: '#{cmd}' failed"
  end
  ret
end