Class: Grit::RepoConfig

Inherits:
Config
  • Object
show all
Defined in:
lib/build-tool/vcs/git.rb

Instance Method Summary collapse

Instance Method Details

#delete(key) ⇒ Object



11
12
13
# File 'lib/build-tool/vcs/git.rb', line 11

def delete(key)
    @repo.git.config({:file => "#{@repo.path}/config", :unset => true }, key) if @repo
end