mirror of
https://github.com/joaotavora/yasnippet.git
synced 2026-02-06 15:32:25 +00:00
Last commit before tagging and releasing
This commit is contained in:
9
extras/imported/ruby-mode/Files/untitled.yasnippet
Normal file
9
extras/imported/ruby-mode/Files/untitled.yasnippet
Normal file
@@ -0,0 +1,9 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: opt
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: option(..)
|
||||
# --
|
||||
opts.on( "-${1:o}", "--${2:long-option-name}"${3/^\s*$|(.*\S.*)/(?1:, )/}${3:String},
|
||||
"${4:Option description.}" ) do |${6:opt}|
|
||||
$0
|
||||
end
|
||||
Reference in New Issue
Block a user