View Source ExRPG.Globals (ExRPG v0.2.1)

Module which defines globals like project paths

Link to this section Summary

Functions

The regex pattern for identifying json files

The name for license files

The path to where the project lives on your machine

The path to where system configs are stored

Link to this section Functions

The regex pattern for identifying json files

examples

Examples

iex> ExRPG.Globals.json_file_name() ~r/.+.json$/

The name for license files

examples

Examples

iex> ExRPG.Globals.license_file_name() "license.md"

The path to where the project lives on your machine

examples

Examples

iex> ExRPG.Globals.project_root()
"/full/path/to/project/ex_rpg"

The path to where system configs are stored

examples

Examples

iex> ExRPG.Globals.system_configs_path()
"/full/path/to/project/ex_rpg/system_configs"