EEx.eval_file
You're seeing just the function
eval_file
, go back to EEx module for more information.
Specs
Gets a filename
and evaluate the values using the bindings
.
Examples
# sample.eex
foo <%= bar %>
# IEx
EEx.eval_file("sample.eex", bar: "baz")
#=> "foo baz"