mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-16 14:33:05 +00:00
6 lines
196 B
Plaintext
6 lines
196 B
Plaintext
# -*- mode: snippet -*-
|
|
# key: Hash
|
|
# contributor: Translated from TextMate Snippet
|
|
# name: Hash.new { |hash, key| hash[key] = .. }
|
|
# --
|
|
Hash.new { |${1:hash}, ${2:key}| ${1:hash}[${2:key}] = $0 } |