Class ClassExtensionLibrary

java.lang.Object
org.jruby.runtime.load.ClassExtensionLibrary
All Implemented Interfaces:
Library

public class ClassExtensionLibrary extends 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.
  • Constructor Details

    • ClassExtensionLibrary

      public ClassExtensionLibrary(String name, Class extension)
  • Method Details

    • findLeftmostIdentifier

      public static int findLeftmostIdentifier(String[] all)
    • getName

      public String getName()
    • load

      public void load(Ruby runtime, boolean wrap)
      Specified by:
      load in interface Library