/ruby-mode/Declarations/usage_unless() (usau).yasnippet
Unknown | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | ce2c604fe39ef1e007ad5b90c6f95d5e MD5 | raw file
- # -*- mode: snippet -*-
- # key: usau
- # contributor: Translated from TextMate Snippet
- # name: usage_unless()
- # --
- unless ARGV.$1
- abort "Usage: #{\$PROGRAM_NAME} ${2:ARGS_GO_HERE}"
- end