PageRenderTime 3ms CodeModel.GetById 1ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/ruby-mode/Each Element/each_with_index { |e, i| .. } (eawi).yasnippet

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 64546e6a8f2e17c5fd6737ba76386140 MD5 | raw file
1# -*- mode: snippet -*-
2# key: eawi
3# contributor: Translated from TextMate Snippet
4# name: each_with_index { |e, i| .. }
5# --
6each_with_index { |${1:e}, ${2:i}| $0 }