Plugins in Elixir Applications Hello, Erlang! A new podcast

Mixin has been released.

Mixin for Elixir. Delegates all functions to ModuleA from moduleB. Works like a so-called Mixin.

Links

Usage

iex> defmodele ForDocFoo do
...>   def foo, do: :foo
...> end

iex> defmodele ForDocBar do
...>   require Mixin
...>   Mixin.include ForDocFoo
...> end

iex> ForDocBar.foo
:foo