Class CompiledRubyScript

java.lang.Object
org.tentackle.script.ruby.CompiledRubyScript

public class CompiledRubyScript extends Object
The compiled ruby script.
  • 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 container
      code - the source code
      rubyScript - the ruby script object
  • Method Details

    • 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