This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ruby runtime = this.container.getProvider().getRuntime(); | |
LoadService loader = this.container.getLoadServiceCreator().create(runtime); | |
loader.require(library); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "../dist/frozen-urchin.jar" | |
class TestLibrary | |
include Java::org.fu.script.Library | |
def apply_library(container) | |
nil | |
end | |
end |
NewerOlder