Packages

A simple utility to find codetags within a project

Current section

Files

Jump to
ex_todo lib codetag_entry.ex
Raw

lib/codetag_entry.ex

defmodule ExTodo.CodetagEntry do
@moduledoc """
This module defines a struct which contains all the information for a single
codetag entry.
"""
alias __MODULE__
defstruct ~w(type line comment)a
@doc "Build a single codetag entry"
def build(type, line, comment) do
%CodetagEntry{
type: type,
line: line,
comment: comment
}
end
end