blueprint v0.1.0 Blueprint.Application.Module

A struct containing contents from a BEAM module useful for inspecting.

Link to this section Summary

Functions

Load the contents of a module at the given path

Link to this section Types

Link to this type server()
server() :: {:named, atom()} | nil
Link to this type t()
t() :: %Blueprint.Application.Module{beam: binary(), messages: [Blueprint.Application.Module.Message.t()], name: atom(), path: String.t(), server: server()}

Link to this section Functions

Link to this function new(path)
new(String.t()) :: t()

Load the contents of a module at the given path.

iex> Blueprint.Application.Module.new(Path.join(Mix.Project.app_path(), "ebin/Elixir.Blueprint.Application.Module.beam")).name
Blueprint.Application.Module