Class CompiledRubyScript


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