Makina.__using__

You're seeing just the macro __using__, go back to Makina module for more information.
Link to this macro

__using__(options)

(macro)

Specs

__using__(Keyword.t()) :: Macro.t()

This macro configures the module, importing all the necessary Makina macros.

It accepts the following options to configure the model:

  • implemented_by: Module where Module is the Elixir module that contains the implementation that we want to test.

  • extends: Module where Module is the model that we want to extend.

  • extends: Modules where Modules is a list of models that will be composed and afterwards extended with the definitions in the current model.

  • where: RenamedCommands where RenamedCommands is a keyword list which contains the original name of the command and its new name.

  • debug: true to enable code debugging. This option produces a folder .makina with an elixir file containing the result of the macro expansion of the model.