extractly v0.1.0 Extractly

Provide easy access to information inside the templates rendered by mix xtra

Link to this section Summary

Functions

Returns docstring of a function (or nil) Ex

Returns docstring of a module (or nil) Ex

Link to this section Functions

Link to this function

functiondoc(name)

Returns docstring of a function (or nil) Ex:

  iex(1)> Extractly.functiondoc("Extractly.moduledoc/1")
  [ "  Returns docstring of a module (or nil)",
    "  Ex:",
    "", 
    "      Extractly.moduledoc(\"Extractly\")",
    ""
    ] |> Enum.join("\n")
Link to this function

moduledoc(name)

Returns docstring of a module (or nil) Ex:

  Extractly.moduledoc("Extractly")