yasnippet/extras/imported/ruby-mode/Counting/upto(1.00.0) { n .. } (upt).yasnippet

7 lines
259 B
Plaintext

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