Attributes.get

You're seeing just the function get, go back to Attributes module for more information.

Gets attribute by path.

It returns nil if path is not found.

Example

Attributes.get(MyModule, [:path])
Link to this function

get(module, path, default)

View Source

Gets attribute by path with default.

It returns default if path is not found.

Example

Attributes.get(MyModule, [:path], :default)