Class GemScriptingContainer

  • All Implemented Interfaces:
    org.jruby.embed.EmbedRubyInstanceConfigAdapter

    public class GemScriptingContainer
    extends org.jruby.embed.ScriptingContainer
    • Constructor Summary

      Constructors 
      Constructor Description
      GemScriptingContainer()  
      GemScriptingContainer​(java.io.File gemHome, java.io.File gemPath)  
      GemScriptingContainer​(org.jruby.embed.LocalContextScope scope, org.jruby.embed.LocalVariableBehavior behavior)  
      GemScriptingContainer​(org.jruby.embed.LocalContextScope scope, org.jruby.embed.LocalVariableBehavior behavior, java.io.File gemHome, java.io.File gemPath)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object runScriptletFromClassloader​(java.lang.String name)  
      java.lang.Object runScriptletFromClassloader​(java.lang.String name, java.lang.Class<?> clazz)  
      • Methods inherited from class org.jruby.embed.ScriptingContainer

        addClassLoader, addGemPath, addGemPath, addLoadPath, addLoadPath, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, callSuper, clear, finalize, get, get, getArgv, getAttribute, getAttributeMap, getClassLoader, getClassloaderDelegate, getCompatVersion, getCompileMode, getCurrentDirectory, getEnvironment, getErr, getError, getErrorWriter, getHomeDirectory, getIn, getInput, getInstance, getJitLogEvery, getJitMax, getJitMaxSize, getJitThreshold, getKCode, getLoadPaths, getLoadServiceCreator, getOut, getOutput, getProfile, getProfileOutput, getProfilingMode, getProperty, getProvider, getReader, getRecordSeparator, getRuntime, getScriptFilename, getSupportedRubyVersion, getVarMap, getWriter, isNativeEnabled, isObjectSpaceEnabled, isRunRubyInProcess, newObjectAdapter, newRuntimeAdapter, parse, parse, parse, parse, put, put, remove, remove, removeAttribute, resetErrorWriter, resetWriter, runRubyMethod, runRubyMethod, runScriptlet, runScriptlet, runScriptlet, runScriptlet, setArgv, setAttribute, setClassLoader, setClassloaderDelegate, setCompatVersion, setCompileMode, setCurrentDirectory, setEnvironment, setError, setError, setErrorWriter, setHomeDirectory, setInput, setInput, setJitLogEvery, setJitMax, setJitMaxSize, setJitThreshold, setKCode, setLoadPaths, setLoadServiceCreator, setNativeEnabled, setObjectSpaceEnabled, setOutput, setOutput, setProfile, setProfile, setProfileOutput, setProfilingMode, setReader, setRecordSeparator, setRunRubyInProcess, setScriptFilename, setWriter, terminate
      • Methods inherited from class java.lang.Object

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

      • GemScriptingContainer

        public GemScriptingContainer()
      • GemScriptingContainer

        public GemScriptingContainer​(java.io.File gemHome,
                                     java.io.File gemPath)
      • GemScriptingContainer

        public GemScriptingContainer​(org.jruby.embed.LocalContextScope scope,
                                     org.jruby.embed.LocalVariableBehavior behavior)
      • GemScriptingContainer

        public GemScriptingContainer​(org.jruby.embed.LocalContextScope scope,
                                     org.jruby.embed.LocalVariableBehavior behavior,
                                     java.io.File gemHome,
                                     java.io.File gemPath)
    • Method Detail

      • runScriptletFromClassloader

        public java.lang.Object runScriptletFromClassloader​(java.lang.String name,
                                                            java.lang.Class<?> clazz)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • runScriptletFromClassloader

        public java.lang.Object runScriptletFromClassloader​(java.lang.String name)
                                                     throws java.io.IOException
        Throws:
        java.io.IOException