summaryrefslogtreecommitdiff
path: root/lib/gitlab_keys.rb
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-02-20 13:36:22 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-02-20 13:45:39 +0100
commitf65c68025e7c86618f70e49b89ef44989c05a83d (patch)
tree995c9f1b32d82c145707a3bad2aa1055b68b1f64 /lib/gitlab_keys.rb
parent43b985d93b31315dc2f30eaa5f4e022f9aeaa9e1 (diff)
downloadgitlab-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