Class CompiledRubyScript


  • public class CompiledRubyScript
    extends java.lang.Object
    The compiled ruby script.
    • Constructor Summary

      Constructors 
      Constructor Description
      CompiledRubyScript​(org.jruby.embed.ScriptingContainer container, java.lang.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
      java.lang.String getCode()  
      org.jruby.embed.ScriptingContainer getContainer()  
      org.jruby.embed.EmbedEvalUnit getRubyScript()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompiledRubyScript

        public CompiledRubyScript​(org.jruby.embed.ScriptingContainer container,
                                  java.lang.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 java.lang.String getCode()
        Returns:
        the effectiveCode
      • getRubyScript

        public org.jruby.embed.EmbedEvalUnit getRubyScript()
        Returns:
        the rubyScript