Skip to content

Instantly share code, notes, and snippets.

@adaedra
Created May 15, 2016 20:44
Show Gist options
  • Save adaedra/8233dd6afa4f34ae5f4d9c02a43f4567 to your computer and use it in GitHub Desktop.
Save adaedra/8233dd6afa4f34ae5f4d9c02a43f4567 to your computer and use it in GitHub Desktop.
adaedra › touch toto
adaedra › pry
[1] pry(main)> Dir.mkdir 'toto' rescue $!
=> #<Errno::EEXIST: File exists @ dir_s_mkdir - toto>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment