diff options
| author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-02-20 13:36:22 +0100 |
|---|---|---|
| committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-02-20 13:45:39 +0100 |
| commit | f65c68025e7c86618f70e49b89ef44989c05a83d (patch) | |
| tree | 995c9f1b32d82c145707a3bad2aa1055b68b1f64 /lib/gitlab_keys.rb | |
| parent | 43b985d93b31315dc2f30eaa5f4e022f9aeaa9e1 (diff) | |
| download | gitlab-shell-f65c68025e7c86618f70e49b89ef44989c05a83d.tar.gz | |
Fail early on invalid input (raise ... unless ...)
This intention of this change is to make the normal flow of execution
easier to read, and to prevent mistakes in deeply nested if-else trees.
Diffstat (limited to 'lib/gitlab_keys.rb')
0 files changed, 0 insertions, 0 deletions
