java.lang.Object
org.tentackle.script.ruby.CompiledRubyScript
The compiled ruby script.
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledRubyScript(org.jruby.embed.ScriptingContainer container, String code, org.jruby.embed.EmbedEvalUnit rubyScript) Creates a compiled ruby script. -
Method Summary
Modifier and TypeMethodDescriptiongetCode()org.jruby.embed.ScriptingContainerorg.jruby.embed.EmbedEvalUnit
-
Constructor Details
-
CompiledRubyScript
public CompiledRubyScript(org.jruby.embed.ScriptingContainer container, String code, org.jruby.embed.EmbedEvalUnit rubyScript) Creates a compiled ruby script.- Parameters:
container- the scripting containercode- the source coderubyScript- the ruby script object
-
-
Method Details
-
getContainer
public org.jruby.embed.ScriptingContainer getContainer()- Returns:
- the container
-
getCode
- Returns:
- the effectiveCode
-
getRubyScript
public org.jruby.embed.EmbedEvalUnit getRubyScript()- Returns:
- the rubyScript
-