- java.lang.Object
-
- org.tentackle.script.ruby.CompiledRubyScript
-
public class CompiledRubyScript extends Object
The compiled ruby script.
-
-
Constructor Summary
Constructors Constructor Description CompiledRubyScript(org.jruby.embed.ScriptingContainer container, String code, org.jruby.embed.EmbedEvalUnit rubyScript)Creates a compiled ruby script.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()org.jruby.embed.ScriptingContainergetContainer()org.jruby.embed.EmbedEvalUnitgetRubyScript()
-
-
-
Constructor Detail
-
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 Detail
-
getContainer
public org.jruby.embed.ScriptingContainer getContainer()
- Returns:
- the container
-
getCode
public String getCode()
- Returns:
- the effectiveCode
-
getRubyScript
public org.jruby.embed.EmbedEvalUnit getRubyScript()
- Returns:
- the rubyScript
-
-