Skip to content

Instantly share code, notes, and snippets.

@ivey
Forked from capoferro/gist:3220555
Created July 31, 2012 21:10
Show Gist options
  • Save ivey/3220607 to your computer and use it in GitHub Desktop.
Save ivey/3220607 to your computer and use it in GitHub Desktop.
config_path = File.expand_path("~/.nexus_cli")
config = File.exists?(config_path) ? YAML::load_file(config_path) : {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment