de.saumya.mojo.ruby
Class GemScriptingContainer

java.lang.Object
  extended by org.jruby.embed.ScriptingContainer
      extended by de.saumya.mojo.ruby.GemScriptingContainer
All Implemented Interfaces:
org.jruby.embed.EmbedRubyInstanceConfigAdapter

public class GemScriptingContainer
extends org.jruby.embed.ScriptingContainer


Constructor Summary
GemScriptingContainer(File gemHome, File gemPath)
           
 
Method Summary
 Object runScriptletFromClassloader(String name)
           
 Object runScriptletFromClassloader(String name, Class<?> clazz)
           
 
Methods inherited from class org.jruby.embed.ScriptingContainer
callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callMethod, callSuper, callSuper, clear, get, getArgv, getAttribute, getAttributeMap, getClassCache, getClassLoader, getCompatVersion, getCompileMode, getCurrentDirectory, getEnvironment, getErr, getError, getErrorWriter, getHomeDirectory, getIn, getInput, getInstance, getJitLogEvery, getJitMax, getJitMaxSize, getJitThreshold, getKCode, getLoadPaths, getLoadServiceCreator, getOut, getOutput, getProfile, getProperty, getProvider, getReader, getRecordSeparator, getRuntime, getScriptFilename, getSupportedRubyVersion, getVarMap, getWriter, isObjectSpaceEnabled, isRunRubyInProcess, newObjectAdapter, newRuntimeAdapter, parse, parse, parse, parse, put, remove, removeAttribute, resetErrorWriter, resetWriter, runScriptlet, runScriptlet, runScriptlet, runScriptlet, setArgv, setAttribute, setClassCache, setClassLoader, setCompatVersion, setCompileMode, setCurrentDirectory, setEnvironment, setError, setError, setErrorWriter, setHomeDirectory, setInput, setInput, setJitLogEvery, setJitMax, setJitMaxSize, setJitThreshold, setKCode, setLoadPaths, setLoadServiceCreator, setObjectSpaceEnabled, setOutput, setOutput, setProfile, setReader, setRecordSeparator, setRunRubyInProcess, setScriptFilename, setWriter, terminate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemScriptingContainer

public GemScriptingContainer(File gemHome,
                             File gemPath)
Method Detail

runScriptletFromClassloader

public Object runScriptletFromClassloader(String name,
                                          Class<?> clazz)
                                   throws IOException
Throws:
IOException

runScriptletFromClassloader

public Object runScriptletFromClassloader(String name)
                                   throws IOException
Throws:
IOException


Copyright © 2010. All Rights Reserved.