yasnippet/extras/imported/ruby-mode/Files/Dir.glob(..) do file .. end (Dir).yasnippet

7 lines
204 B
Plaintext

# -*- mode: snippet -*-
# key: Dir
# contributor: Translated from TextMate Snippet
# name: Dir.glob("..") { |file| .. }
## condition: "source.ruby"
# --
Dir.glob(${1:"${2:dir/glob/*}"}) { |${3:file}| $0 }