View Source Runbox.Scenario.TemplateInspector behaviour (runbox v17.1.0)

Behaviour used to detect scenario template source files.

Summary

Functions

Retrieve implementation specific information about a template.

Validate whether given module is valid template source file.

Callbacks

@callback template_info(module()) :: term()
@callback valid_template?(module()) :: boolean()

Functions

Link to this function

template_info(inspector_mod, template_mod)

View Source
@spec template_info(module(), module()) :: term()

Retrieve implementation specific information about a template.

Link to this function

valid_template?(inspector_mod, template_mod)

View Source
@spec valid_template?(module(), module()) :: boolean()

Validate whether given module is valid template source file.