|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.runtime.load.CExtension
public class CExtension
This class wraps the ModuleLoader
for loading c-extensions
in JRuby. Resources in the native file-system are loaded directly,
extensions included in a Jar are extracted to java.io.tmpdir to allow
the System to load them into the process space.
Constructor Summary | |
---|---|
CExtension(LoadServiceResource resource)
|
Method Summary | |
---|---|
void |
load(Ruby runtime,
boolean wrap)
Try loading the found c-extension. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CExtension(LoadServiceResource resource)
Method Detail |
---|
public void load(Ruby runtime, boolean wrap) throws java.io.IOException
load
in interface Library
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |