org.jruby.runtime.load
Class ClassExtensionLibrary
java.lang.Object
org.jruby.runtime.load.ClassExtensionLibrary
- All Implemented Interfaces:
- Library
public class ClassExtensionLibrary
- extends java.lang.Object
- implements Library
The ClassExtensionLibrary wraps a class which implements BasicLibraryService,
and when asked to load the service, does a basicLoad of the BasicLibraryService.
When the time comes to add other loading mechanisms for loading a class, this
is the place where they will be added. The load method will check interface
you can load a class with, and do the right thing.
Method Summary |
void |
load(Ruby runtime,
boolean wrap)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassExtensionLibrary
public ClassExtensionLibrary(java.lang.Class extension)
load
public void load(Ruby runtime,
boolean wrap)
throws java.io.IOException
- Specified by:
load
in interface Library
- Throws:
java.io.IOException
Copyright © 2002-2009 JRuby Team. All Rights Reserved.