pub fn memory_loader_ruby_load_path() -> &'static Path
Expand description
Directory at which Ruby sources and extensions are stored in the virtual file system.
Some loaders are not backed by a physical disk. These loaders use the path returned by this function as a mount point and default working directory.
ยงExamples
On Windows systems:
assert_eq!(
memory_loader_ruby_load_path(),
Path::new("c:/artichoke/virtual_root/src/lib")
);
On non-Windows systems:
assert_eq!(
memory_loader_ruby_load_path(),
Path::new("/artichoke/virtual_root/src/lib")
);