Top Description Fields Constructors Methods
org.jruby.runtime.load

public Class JarredScript

extends Object
implements Library
Class Inheritance
All Implemented Interfaces
org.jruby.runtime.load.Library
Imports
java.io.IOException, java.net.URL, org.jruby.Ruby

Loading of Ruby scripts packaged in Jar files. Usually the Ruby scripts are accompanied by Java class files in the Jar.

Field Summary

Modifier and TypeField and Description
private final LoadServiceResource
private final String

Constructor Summary

AccessConstructor and Description
public
JarredScript(LoadServiceResource resource, String searchName)

Method Summary

Modifier and TypeMethod and Description
public LoadServiceResource
public void
load(Ruby runtime, boolean wrap)

Implements org.jruby.runtime.load.Library.load.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

resourceback to summary
private final LoadServiceResource resource
searchNameback to summary
private final String searchName

Constructor Detail

JarredScriptback to summary
public JarredScript(LoadServiceResource resource, String searchName)

Method Detail

getResourceback to summary
public LoadServiceResource getResource()
loadback to summary
public void load(Ruby runtime, boolean wrap)

Implements org.jruby.runtime.load.Library.load.