Class RubyScript.CompiledScript

  • Enclosing class:
    RubyScript

    public static class RubyScript.CompiledScript
    extends java.lang.Object
    The compiled ruby script.
    • Constructor Summary

      Constructors 
      Constructor Description
      CompiledScript​(org.jruby.embed.ScriptingContainer container, java.lang.String effectiveCode, org.jruby.embed.EmbedEvalUnit rubyScript)
      Creates a compiled ruby script.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.jruby.embed.ScriptingContainer getContainer()  
      java.lang.String getEffectiveCode()  
      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

      • CompiledScript

        public CompiledScript​(org.jruby.embed.ScriptingContainer container,
                              java.lang.String effectiveCode,
                              org.jruby.embed.EmbedEvalUnit rubyScript)
        Creates a compiled ruby script.
        Parameters:
        container - the scripting container
        effectiveCode - the source code
        rubyScript - the ruby script object
    • Method Detail

      • getContainer

        public org.jruby.embed.ScriptingContainer getContainer()
        Returns:
        the container
      • getEffectiveCode

        public java.lang.String getEffectiveCode()
        Returns:
        the effectiveCode
      • getRubyScript

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