mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-17 02:44:17 +00:00
* Fix issue 113: invalid filenames on Windows. Thanks claudio.bley!
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# -*- mode: snippet -*-
|
||||
# key: cla
|
||||
# contributor: Translated from TextMate Snippet
|
||||
# name: class .. < ParentClass .. initialize .. end
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
class ${1:`(yas/ruby-infer-class-name)`} < ${2:ParentClass}
|
||||
def initialize${3:$(if (string= yas/text "") "" "(")}${3:args}${3:$(if (string= yas/text "") "" ")")}
|
||||
$0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user