Source

.emacs.d / vendor / yasnippet / snippets / ruby-mode / control structure / upt

Full commit
1
2
3
4
5
6
# name: upto(...) { |n| ... }
# key: upt
# --
upto(${n}) { |${i}|
  $0
}