Skip to content

Commit 4b2b5b5

Browse files
committed
Add initializer method [defi]
1 parent 1bdee9a commit 4b2b5b5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

initializer-method.sublime-snippet

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<snippet>
2+
<content><![CDATA[def initializer(${1:attribute})
3+
@${1} = ${1}
4+
end]]></content>
5+
<tabTrigger>defi</tabTrigger>
6+
<scope>source.ruby</scope>
7+
<description>Define initializer method</description>
8+
</snippet>

0 commit comments

Comments
 (0)