diff options
Diffstat (limited to '.emacs.d/mysnippets/text-mode/ruby-mode/upt')
| -rw-r--r-- | .emacs.d/mysnippets/text-mode/ruby-mode/upt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.emacs.d/mysnippets/text-mode/ruby-mode/upt b/.emacs.d/mysnippets/text-mode/ruby-mode/upt new file mode 100644 index 0000000..6fc6810 --- /dev/null +++ b/.emacs.d/mysnippets/text-mode/ruby-mode/upt | |||
| @@ -0,0 +1,6 @@ | |||
| 1 | #name : upto(...) { |n| ... } | ||
| 2 | #group : control structure | ||
| 3 | # -- | ||
| 4 | upto(${n}) { |${i}| | ||
| 5 | $0 | ||
| 6 | } \ No newline at end of file | ||
