yasnippet/extras/imported/ruby-mode/Counting/downto(0) { n .. } (dow).yasnippet

7 lines
251 B
Plaintext

# -*- mode: snippet -*-
# key: dow
# contributor: Translated from TextMate Snippet
# name: downto(0) { |n| .. }
## condition: "source.ruby"
# --
downto(${1:0}) { ${2:$(if (string= yas/text "") "" "|")}${2:n}${2:$(if (string= yas/text "") "" "|")} $0 }