Class: Git::Lib
- Inherits:
-
Object
- Object
- Git::Lib
- Defined in:
- lib/git/lib.rb
Instance Method Summary collapse
Instance Method Details
#config_list ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/git/lib.rb', line 3 def config_list build_list = lambda do |path| parse_config_list command_lines('config', ['--list']) end @config_list ||= begin if @git_dir Dir.chdir(@git_dir, &build_list) else build_list.call end end end |