agala v2.5.1 Agala.Util

Link to this section Summary

Functions

Method is used to retrieve module’s behaviour list.

Example:

defmodule FooBar do
  @behaviour Foo
  @Behaviour Bar
end
iex> Agala.Util.behaviours_list(FooBar)
[Foo, Bar]

Link to this section Functions

Link to this function behaviours_list(module)
behaviours_list(module :: atom()) :: [atom()]

Method is used to retrieve module’s behaviour list.

Example:

defmodule FooBar do
  @behaviour Foo
  @Behaviour Bar
end
iex> Agala.Util.behaviours_list(FooBar)
[Foo, Bar]