/ruby-mode/Declarations/usage_if() (usai).yasnippet
http://github.com/ridgetang/snippets · Unknown · 8 lines · 8 code · 0 blank · 0 comment · 0 complexity · 0b2836bfd58d54bc6a068bd0e0f3ccf6 MD5 · raw file
- # -*- mode: snippet -*-
- # key: usai
- # contributor: Translated from TextMate Snippet
- # name: usage_if()
- # --
- if ARGV.$1
- abort "Usage: #{\$PROGRAM_NAME} ${2:ARGS_GO_HERE}"
- end