emacs/snippets/ruby-mode/upt

7 lines
113 B
Plaintext

# -*- mode: snippet -*-
# name: upto(...) { |n| ... }
# group : control structure
# --
upto(${n}) { |${i}|
$0
}