snowhite v2.1.3 Snowhite.Helpers.Module View Source

Link to this section Summary

Functions

Gets the parent module of a given module used by dot notation

Link to this section Functions

Specs

parent_module(module()) :: module() | nil

Gets the parent module of a given module used by dot notation

Examples

iex> Snowhite.Helpers.Module.parent_module(Snowhite.Helpers.Module)
Snowhite.Helpers