yasnippet/extras/imported/ruby-mode/Counting/upto(1.0;0.0) { |n| .. } (upt).yasnippet
capitaomorte deb0755824 * Small change to textmate_import.rb to import (commented) "scope" directive
* Reimported the HTML and Ruby bundle with the previous fix
* Applied Rob Christie's patches of issues 109 and 110

  0001-Deleted-because-this-is-supported-via-dwim-with-rcod.patch
  0002-Updated-snippets.patch
  0003-Added-setup.el-file-that-must-be-loaded-prior-to-loa.patch
  0004-ruby-mode-class-and-module-snippets-updated.patch
  0005-changes-to-counting-snippets-and-some-declaration-sn.patch

  patching some things manually. Thanks a lot Rob!
2009-10-13 13:28:14 +00:00

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 }