mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-12-14 09:24:18 +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: ClassName = Struct .. do .. end
|
||||
## condition: "source.ruby"
|
||||
# --
|
||||
${1:`(yas/ruby-infer-class-name)`} = Struct.new(:${2:attr_names}) do
|
||||
def ${3:method_name}
|
||||
$0
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user