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

/ruby-mode/Searching and Selection/grep(;pattern;) { |match| .. } (gre).yasnippet

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