crashwatcher/upload-gist.rb
def defaults
  extension = config("gist.extension")
  
  return {
    "private"   => config("gist.private"),
    "browse"    => config("gist.browse"),
    "extension" => extension
  }
end
# Returns default values based on settings in your gitconfig. See
# git-config(1) for more information.
#
# Settings applicable to gist.rb are:
#
# gist.private - boolean
# gist.extension - string
Returns default values based on settings in your gitconfig. See
git-config(1) for more information.

Settings applicable to gist.rb are.


Returns default values based on settings in your gitconfig . See git - config ( 1 ) for more information . Settings applicable to gist . rb are .
def defaults
  extension = config("gist.extension")
  return {
    "private"   => config("gist.private"),
    "browse"    => config("gist.browse"),
    "extension" => extension
  }
end
def defaults extension = config ( "gist.extension" ) return { "private" => config ( "gist.private" ) , "browse" => config ( "gist.browse" ) , "extension" => extension } end
Returns default values based on settings in your gitconfig.
Returns default values based on settings in your gitconfig .