Method: Git::Base.open
- Defined in:
- lib/git/base.rb
.open(working_dir, opts = {}) ⇒ Object
opens a new Git Project from a working directory you can specify non-standard git_dir and index file in the options
74 75 76 |
# File 'lib/git/base.rb', line 74 def self.open(working_dir, opts={}) self.new({:working_directory => working_dir}.merge(opts)) end |