Returns the current Repo, ie env. Initializes and caches a new Repo in env if env is not set.
152 153 154
# File 'lib/gitgo/repo.rb', line 152 def current env[REPO] ||= new(env) end