Wren::UserData
Instance methods
call_handles
Sourceclass_bindings
Sourceloaded_modules
Sourcemethod_bindings
Sourcemodule_dirs
Default module dirs are the current directory and the ./wren_modules folder at the root of this repo.
Additional module dirs to search through can be added with:
vm = Wren::VM.new
vm.config.user_data.module_dirs << "path/to/new/module/dir"
# or
vm.config.user_data.module_dirs << Path["path", "to", "new", "module", "dir"].to_s
slot_handles
Sourcevm
Source