Sha256: fb07370300df60bd4af42b3676d6ebe93e834a4bc68c9c99e1a96c78aa952c05
Contents?: true
Size: 321 Bytes
Versions: 3
Compression:
Stored size: 321 Bytes
Contents
# coding: utf-8 module Retter class Repository include Retter::Stationery def initialize working_dir = config.retter_home.to_s @repo = Grit::Repo.new(working_dir) end def open pwd = Dir.pwd Dir.chdir @repo.working_dir yield @repo Dir.chdir pwd end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
retter-0.1.3 | lib/retter/repository.rb |
retter-0.1.2 | lib/retter/repository.rb |
retter-0.1.1 | lib/retter/repository.rb |