Sha256: 21684ee95c544246034e00844d75c4e10b12b2f5f8ede77578d0314ede78c0af

Contents?: true

Size: 454 Bytes

Versions: 1

Compression:

Stored size: 454 Bytes

Contents

# this loads all of "git-semaphore"
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'git/semaphore'

# utility function to set pry context
# to an instance of <Rugged::Repository>
def repository
  pry Git::Semaphore.git_repo
end

# utility function to set pry context
# to an instance of <Git::Semaphore::Project>
def project
  pry Git::Semaphore::Project.from_repo(Git::Semaphore.git_repo)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
git-semaphore-2.2.0 .pryrc