class GitSu::CachingGit
Public Instance Methods
clear_user(scope)
click to toggle source
Calls superclass method
GitSu::Git#clear_user
# File lib/gitsu/git.rb, line 142 def clear_user(scope) # Git complains if you try to clear the user when the config file is missing super unless selected_user(scope).none? end
color_output?()
click to toggle source
Calls superclass method
GitSu::Git#color_output?
# File lib/gitsu/git.rb, line 138 def color_output? @color_output.nil? ? @color_output = super : @color_output end
get_color(color_name)
click to toggle source
Calls superclass method
GitSu::Git#get_color
# File lib/gitsu/git.rb, line 126 def get_color(color_name) @colors ||= {} #TODO: what if it's an invalid color? @colors[color_name] ||= super end
get_config(scope, key)
click to toggle source
Calls superclass method
GitSu::Git#get_config
# File lib/gitsu/git.rb, line 132 def get_config(scope, key) @config ||= {} @config[scope] ||= {} @config[scope][key] ||= super end