Skip to content

Instantly share code, notes, and snippets.

@capoferro
Created July 31, 2012 21:06
Show Gist options
  • Save capoferro/3220555 to your computer and use it in GitHub Desktop.
Save capoferro/3220555 to your computer and use it in GitHub Desktop.
config_path = File.expand_path("~/.nexus_cli")
config = if File.exists? config_path
YAML::load_file(config_path)
else
Hash.new
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment