String resourceName = "/builtin/" + name + ".rb";
InputStream in = getClass().getResourceAsStream(resourceName);
if (in == null) throw runtime.newIOError("Resource not found: " + resourceName);
runtime.loadFile(name, new LoadServiceResourceInputStream(in), wrap);
in.close();
}