/ruby-mode/Declarations/060 ruby if else.yasnippet

http://github.com/ridgetang/snippets · Unknown · 10 lines · 10 code · 0 blank · 0 comment · 0 complexity · e0ca6f8630343c15cf0e5bca1028d508 MD5 · raw file

  1. # -*- mode: snippet -*-
  2. # key: ife
  3. # contributor: Translated from TextMate Snippet
  4. # name: if … else … end
  5. # --
  6. if ${1:condition}
  7. $2
  8. else
  9. $3
  10. end