Attributes.get

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

Gets all attributes.

Example

Attributes.get(MyModule)

Gets attribute in 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 in path with default.

It returns default if path is not found or the value is nil.

Example

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