/ruby-mode/Each Element/each_line { |line| .. } (eal).yasnippet

http://github.com/ridgetang/snippets · Unknown · 6 lines · 6 code · 0 blank · 0 comment · 0 complexity · 2a07583094d598d368759d24fab61b41 MD5 · raw file

  1. # -*- mode: snippet -*-
  2. # key: eal
  3. # contributor: Translated from TextMate Snippet
  4. # name: each_line { |line| .. }
  5. # --
  6. each_line$1 { |${2:line}| $0 }