Current section
Files
Jump to
Current section
Files
lib/combo/template/exs_engine.ex
defmodule Combo.Template.ExsEngine do
@moduledoc """
The template engine that handles Elixir script template.
"""
@behaviour Combo.Template.Engine
def compile(path, _name) do
path
|> File.read!()
|> Code.string_to_quoted!(file: path)
end
end