PageRenderTime 15ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Declarations/usage_unless() (usau).yasnippet

http://github.com/ridgetang/snippets
Unknown | 8 lines | 8 code | 0 blank | 0 comment | 0 complexity | ce2c604fe39ef1e007ad5b90c6f95d5e MD5 | raw file
  1. # -*- mode: snippet -*-
  2. # key: usau
  3. # contributor: Translated from TextMate Snippet
  4. # name: usage_unless()
  5. # --
  6. unless ARGV.$1
  7. abort "Usage: #{\$PROGRAM_NAME} ${2:ARGS_GO_HERE}"
  8. end