/ruby-mode/Each Element/map_with_index { |e, i| .. } (mapwi).yasnippet
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 159adaa08748422a188561df0e6bec08 MD5 | raw file
- # -*- mode: snippet -*-
- # key: mapwi-
- # contributor: Translated from TextMate Snippet
- # name: map_with_index { |e, i| .. }
- # --
- enum_with_index.map { |${1:e}, ${2:i}| $0 }