PageRenderTime 32ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/ruby-mode/Each Element/each_slice { |group| .. } (eas).yasnippet

http://github.com/ridgetang/snippets
Unknown | 6 lines | 6 code | 0 blank | 0 comment | 0 complexity | 671835221d23f7d94b416f284003b36e MD5 | raw file
  1. # -*- mode: snippet -*-
  2. # key: eas-
  3. # contributor: Translated from TextMate Snippet
  4. # name: each_slice(..) { |group| .. }
  5. # --
  6. each_slice(${1:2}) { |${2:group}| $0 }