Runbox.Scenario.TemplateInspector behaviour (runbox v7.0.1)

Behaviour used to detect scenario template source files.

Link to this section Summary

Functions

Retrieve implementation specific information about a template.

Validate whether given module is valid template source file.

Link to this section Callbacks

Link to this callback

template_info(module)

@callback template_info(module()) :: term()
Link to this callback

valid_template?(module)

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

Link to this section Functions

Link to this function

template_info(inspector_mod, template_mod)

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

Retrieve implementation specific information about a template.

Link to this function

valid_template?(inspector_mod, template_mod)

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

Validate whether given module is valid template source file.