diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-05-20 14:36:58 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-02 14:24:49 +0000 |
| commit | 83327510c619f6fd0fc81fbf6be6ae8bb7b1f0fa (patch) | |
| tree | 9a4346c53b0a77eaacc3f0520b5b941d51c70070 /alv/module.moon | |
| parent | once again, revamp windows distribution (diff) | |
| download | alive-83327510c619f6fd0fc81fbf6be6ae8bb7b1f0fa.tar.gz alive-83327510c619f6fd0fc81fbf6be6ae8bb7b1f0fa.zip | |
alv-fltk: clear log option, autoclear option
Diffstat (limited to 'alv/module.moon')
| -rw-r--r-- | alv/module.moon | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/alv/module.moon b/alv/module.moon index 0e95593..fad08ee 100644 --- a/alv/module.moon +++ b/alv/module.moon @@ -62,7 +62,11 @@ class Module destroy: => @registry\destroy! - __tostring: => "<Module #{@file}>" + --- get the module basename. + -- @treturn string + basename: => @file\match '([^/\\]+)$' + + __tostring: => "<Module #{@basename!}>" --- the last updated AST tree for this module. -- @tfield ?AST ast |
