Method: GitExternal#initialize
- Defined in:
- lib/git_external.rb
#initialize ⇒ GitExternal
Returns a new instance of GitExternal.
5 6 7 8 9 10 |
# File 'lib/git_external.rb', line 5 def initialize @root_dir = `git rev-parse --show-toplevel`.chomp @externals_file = "#{@root_dir}/.gitexternals" @ignore_file = "#{@root_dir}/.gitignore" @configurations = {} end |