We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e806a3 + 0dfd32f commit e066009Copy full SHA for e066009
snippets/ruby-mode/proc
@@ -0,0 +1,6 @@
1
+# -*- mode: snippet -*-
2
+# name: Proc.new { |...| ... }
3
+# key: proc
4
+# contributor: Valery Zajkov
5
+# --
6
+Proc.new { |${1:argument}| $0 }
snippets/ruby-mode/unless
@@ -0,0 +1,9 @@
+# name: unless ... end
+# group: control structure
+# key: unless
7
+unless ${1:condition}
8
+ $0
9
+end
0 commit comments