class Geode::Config
- Geode::Config
- Reference
- Object
Defined in:
config.crConstant Summary
-
CACHE_DIR =
{% if flag?(:win32) %} Path[ENV["LOCALAPPDATA"], "geode"] {% else %} Path[ENV["XDG_CACHE_HOME"]? || Path.home / ".config" / "geode"] {% end %}
-
LIBRARY_DIR =
{% if flag?(:win32) %} Path[ENV["APPDATA"], "geode"] {% else %} Path[ENV["XDG_DATA_HOME"]? || Path.home / ".local" / "share" / "geode"] {% end %}
-
PATH =
CACHE_DIR / "config.ini"
-
TEMPLATES =
LIBRARY_DIR / "templates"
Constructors
Instance Method Summary
- #metrics : Metrics
- #metrics=(metrics : Metrics)
- #notices : Hash(String, Bool)
- #notices=(notices : Hash(String, Bool))
- #save : Nil
- #templates : Templates
- #templates=(templates : Templates)