Elixir: def with doc string

This commit is contained in:
Louis Pilfold 2015-02-19 18:01:49 +00:00
parent 93b4de1299
commit 24bb8a4b18

View File

@ -46,6 +46,13 @@ snippet def
def ${1:name} do
${0}
end
snippet defd
@doc """
${1:doc string}
"""
def ${2:name} do
${0}
end
snippet defim
defimpl ${1:protocol_name}, for: ${2:data_type} do
${0}