Class: Grit::UserConfig

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

Instance Method Summary collapse

Instance Method Details

#[]=(key, value) ⇒ Object



21
22
23
# File 'lib/build-tool/vcs/git.rb', line 21

def []=(key, value)
    @repo.git.config({:global => true}, key, value)
end

#delete(key) ⇒ Object



24
25
26
# File 'lib/build-tool/vcs/git.rb', line 24

def delete(key)
    @repo.git.config({:global => true, :unset => true }, key)
end