restructuring classic snippets dir to conform to new parenting specs

This commit is contained in:
capitaomorte
2009-12-25 14:42:14 +00:00
parent 060e2ce5f1
commit c3d91ffccc
42 changed files with 0 additions and 6 deletions

View File

@@ -0,0 +1,6 @@
#name : for ... in ...; ... end
#group : control structure
# --
for ${1:element} in ${2:collection}
$0
end

View File

@@ -0,0 +1,6 @@
#name : if ... end
#group : control structure
# --
if ${1:condition}
$0
end

View File

@@ -0,0 +1,8 @@
#name : if ... else ... end
#group : control structure
# --
if ${1:condition}
$2
else
$3
end

View File

@@ -0,0 +1,4 @@
#name : times { |n| ... }
#group : control structure
# --
times { |${n}| $0 }

View File

@@ -0,0 +1,6 @@
#name : until ... end
#group: control structure
# --
until ${condition}
$0
end

View File

@@ -0,0 +1,6 @@
#name : upto(...) { |n| ... }
#group : control structure
# --
upto(${n}) { |${i}|
$0
}

View File

@@ -0,0 +1,6 @@
#name : when ... end
#group : control structure
# --
when ${condition}
$0
end

View File

@@ -0,0 +1,6 @@
#name : while ... end
#group : control structure
# --
while ${condition}
$0
end