Methods

global_not_found_handlerΒΆ

global_not_found_handler(name:Str)

Called when reading undefined global. Implements autoloading. Searches in $NGS_DIR/autoload/NAME.ngs WARNING: May have security implications when looking up a name from untrusted source.
Source: stdlib.ngs:699

Example

test("My web server runs") do { .... }  # $NGS_DIR/autoload/test.ngs is automatically loaded.