Skip to content

Instantly share code, notes, and snippets.

View Groogy's full-sized avatar

Groogy Groogy

View GitHub Profile
require "../dist/frozen-urchin.jar"
class TestLibrary
include Java::org.fu.script.Library
def apply_library(container)
end
end
describe Java::org.fu.script.ScriptController do
Ruby runtime = this.container.getProvider().getRuntime();
LoadService loader = this.container.getLoadServiceCreator().create(runtime);
loader.require(library);
require "../dist/frozen-urchin.jar"
class TestLibrary
include Java::org.fu.script.Library
def apply_library(container)
end
end
describe Java::org.fu.script.ScriptController do
require "../dist/frozen-urchin.jar"
class TestLibrary
include Java::org.fu.script.Library
def apply_library(container)
nil
end
end