Uses of Class
org.jruby.Ruby

Packages that use Ruby
org.jruby   
org.jruby.ast   
org.jruby.ast.executable   
org.jruby.ast.util   
org.jruby.common   
org.jruby.compiler   
org.jruby.compiler.yarv   
org.jruby.demo   
org.jruby.environment   
org.jruby.evaluator   
org.jruby.exceptions   
org.jruby.ext   
org.jruby.ext.socket   
org.jruby.internal.runtime   
org.jruby.internal.runtime.methods   
org.jruby.javasupport   
org.jruby.javasupport.proxy   
org.jruby.javasupport.test   
org.jruby.javasupport.util   
org.jruby.libraries   
org.jruby.parser   
org.jruby.runtime   
org.jruby.runtime.builtin   
org.jruby.runtime.callback   
org.jruby.runtime.load   
org.jruby.runtime.marshal   
org.jruby.test   
org.jruby.util   
org.jruby.util.io   
 

Uses of Ruby in org.jruby
 

Methods in org.jruby that return Ruby
 Ruby RubyClass.getClassRuntime()
           
static Ruby Ruby.getCurrentInstance()
           
static Ruby Ruby.getDefaultInstance()
          Deprecated. use #newInstance()
 Ruby RubyObject.getRuntime()
          Will return the runtime that this object is associated with.
static Ruby Ruby.newInstance()
          Returns a new instance of the JRuby runtime configured with defaults.
static Ruby Ruby.newInstance(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err)
          Returns a new instance of the JRuby runtime configured with the given input, output and error streams and otherwise default configuration (except where specified system properties alter defaults).
static Ruby Ruby.newInstance(RubyInstanceConfig config)
          Returns a new instance of the JRuby runtime configured as specified.
 

Methods in org.jruby with parameters of type Ruby
static RubyInteger RubyBignum.bignorm(Ruby runtime, java.math.BigInteger bi)
          rb_big_norm
static IRubyObject RubyEnumerable.callEach(Ruby runtime, ThreadContext context, IRubyObject self, BlockCallback callback)
           
 LoadService RubyInstanceConfig.LoadServiceCreator.create(Ruby runtime)
           
static RubyClass RubyArray.createArrayClass(Ruby runtime)
           
static RubyClass RubyBigDecimal.createBigDecimal(Ruby runtime)
           
static RubyClass RubyBignum.createBignumClass(Ruby runtime)
           
static RubyClass RubyBinding.createBindingClass(Ruby runtime)
           
static RubyClass RubyClass.createBootstrapClass(Ruby runtime, java.lang.String name, RubyClass superClass, ObjectAllocator allocator)
          boot_defclass Create an initial Object meta class before Module and Kernel dependencies have squirreled themselves together.
static RubyClass NativeException.createClass(Ruby runtime, RubyClass baseClass)
           
static void RubyClass.createClassClass(Ruby runtime, RubyClass classClass)
           
static void RubyClassPathVariable.createClassPathVariable(Ruby runtime)
           
static RubyModule RubyComparable.createComparable(Ruby runtime)
           
static void RubyContinuation.createContinuation(Ruby runtime)
           
static void RubyDigest.createDigest(Ruby runtime)
           
static void RubyDigest.createDigestMD5(Ruby runtime)
           
static void RubyDigest.createDigestRMD160(Ruby runtime)
           
static void RubyDigest.createDigestSHA1(Ruby runtime)
           
static void RubyDigest.createDigestSHA2(Ruby runtime)
           
static RubyClass RubyDir.createDirClass(Ruby runtime)
           
static RubyModule RubyEnumerable.createEnumerableModule(Ruby runtime)
           
static RubyModule RubyEtc.createEtcModule(Ruby runtime)
           
static RubyClass RubyException.createExceptionClass(Ruby runtime)
           
static RubyClass RubyBoolean.createFalseClass(Ruby runtime)
           
static RubyClass RubyFile.createFileClass(Ruby runtime)
           
static RubyClass RubyFileStat.createFileStatClass(Ruby runtime)
           
static RubyModule RubyFileTest.createFileTestModule(Ruby runtime)
           
static RubyClass RubyFixnum.createFixnumClass(Ruby runtime)
           
static RubyClass RubyFloat.createFloatClass(Ruby runtime)
           
static RubyModule RubyGC.createGCModule(Ruby runtime)
           
static void RubyGlobal.createGlobals(Ruby runtime)
           
static RubyClass RubyHash.createHashClass(Ruby runtime)
           
static void RubyIconv.createIconv(Ruby runtime)
           
static RubyClass RubyInteger.createIntegerClass(Ruby runtime)
           
static RubyClass RubyIO.createIOClass(Ruby runtime)
           
static RubyModule RubyJRuby.createJRuby(Ruby runtime)
           
static RubyModule RubyJRuby.createJRubyExt(Ruby runtime)
           
static RubyModule RubyKernel.createKernelModule(Ruby runtime)
           
 LoadService RubyInstanceConfig.createLoadService(Ruby runtime)
           
static RubyClass RubyLocalJumpError.createLocalJumpErrorClass(Ruby runtime, RubyClass standardErrorClass)
           
static RubyModule RubyMarshal.createMarshalModule(Ruby runtime)
           
static RubyClass RubyMatchData.createMatchDataClass(Ruby runtime)
           
static RubyModule RubyMath.createMathModule(Ruby runtime)
          Create the Math module and add it to the Ruby runtime.
static RubyClass RubyMethod.createMethodClass(Ruby runtime)
          Create the RubyMethod class and add it to the Ruby runtime.
static RubyClass RubyModule.createModuleClass(Ruby runtime, RubyClass moduleClass)
           
static RubyClass RubyNameError.createNameErrorClass(Ruby runtime, RubyClass standardErrorClass)
           
static RubyClass RubyNil.createNilClass(Ruby runtime)
           
static void RubyNKF.createNKF(Ruby runtime)
           
static RubyClass RubyNoMethodError.createNoMethodErrorClass(Ruby runtime, RubyClass nameErrorClass)
           
static RubyClass RubyNumeric.createNumericClass(Ruby runtime)
           
static RubyClass RubyObject.createObjectClass(Ruby runtime, RubyClass objectClass)
          Will create the Ruby class Object in the runtime specified.
static RubyModule RubyObjectSpace.createObjectSpaceModule(Ruby runtime)
          Create the ObjectSpace module and add it to the Ruby runtime.
static RubyModule RubyPrecision.createPrecisionModule(Ruby runtime)
           
static RubyClass RubyProc.createProcClass(Ruby runtime)
           
static RubyModule RubyProcess.createProcessModule(Ruby runtime)
           
static RubyClass RubyRange.createRangeClass(Ruby runtime)
           
static RubyClass RubyRegexp.createRegexpClass(Ruby runtime)
           
static RubyClass RubyStringScanner.createScannerClass(Ruby runtime)
           
static void RubySignal.createSignal(Ruby runtime)
           
static RubyClass RubyString.createStringClass(Ruby runtime)
           
static RubyClass RubyStringIO.createStringIOClass(Ruby runtime)
           
static RubyClass RubyStruct.createStructClass(Ruby runtime)
           
static RubyClass RubySymbol.createSymbolClass(Ruby runtime)
           
static RubyClass RubySystemCallError.createSystemCallErrorClass(Ruby runtime, RubyClass standardError)
           
static RubyClass RubySystemExit.createSystemExitClass(Ruby runtime, RubyClass exceptionClass)
           
static RubyClass RubyThread.createThreadClass(Ruby runtime)
           
static RubyClass RubyThreadGroup.createThreadGroupClass(Ruby runtime)
           
static RubyClass RubyTime.createTimeClass(Ruby runtime)
           
static IRubyObject TopSelfFactory.createTopSelf(Ruby runtime)
           
static RubyClass RubyBoolean.createTrueClass(Ruby runtime)
           
static RubyModule RubyYAML.createYAMLModule(Ruby runtime)
           
static RubyModule RubyZlib.createZlibModule(Ruby runtime)
          Create the Zlib module and add it to the Ruby runtime.
static IRubyObject RubyNumeric.dbl_cmp(Ruby runtime, double a, double b)
          rb_dbl_cmp (numeric.c)
static IRubyObject RubyNumeric.dbl2num(Ruby runtime, double val)
          rb_dbl2big + LONG2FIX at once (numeric.c)
static void RubyEnumerator.defineEnumerator(Ruby runtime)
           
static RubyClass RubyUnboundMethod.defineUnboundMethodClass(Ruby runtime)
           
 IRubyObject RubyRuntimeAdapter.eval(Ruby runtime, java.lang.String script)
           
protected static java.util.List<RubyString> RubyDir.getContents(java.io.File directory, Ruby runtime)
          Returns the contents of the specified directory as an ArrayList containing the names of the files as Ruby Strings.
protected static JRubyFile RubyDir.getDir(Ruby runtime, java.lang.String path, boolean mustExist)
          Returns a Java File object for the specified path.
static ModeFlags RubyIO.getIOModes(Ruby runtime, java.lang.String modesString)
           
static int RubyIO.getIOModesIntFromString(Ruby runtime, java.lang.String modesString)
           
static DateTimeZone RubyTime.getLocalTimeZone(Ruby runtime)
           
static RubySymbol RubySymbol.getSymbolLong(Ruby runtime, long id)
           
static void RubyArgsFile.initArgsFile(Ruby runtime)
           
static RubyNumeric RubyNumeric.int2fix(Ruby runtime, long val)
           
 void RubyJRuby.ExtLibrary.load(Ruby runtime, boolean wrap)
           
static RubyFixnum RubyFixnum.minus_one(Ruby runtime)
           
static RubyArray RubyArray.newArray(Ruby runtime)
          rb_ary_new
static RubyArray RubyArray.newArray(Ruby runtime, java.util.Collection collection)
           
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject obj)
           
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject[] args)
          rb_ary_new4, rb_ary_new3
static RubyArray RubyArray.newArray(Ruby runtime, IRubyObject car, IRubyObject cdr)
          rb_assoc_new
static RubyArray RubyArray.newArray(Ruby runtime, long len)
          rb_ary_new2
static RubyArray RubyArray.newArrayLight(Ruby runtime)
          rb_ary_new
static RubyArray RubyArray.newArrayLight(Ruby runtime, long len)
           
static RubyArray RubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args)
           
static RubyArray RubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin)
           
static RubyArray RubyArray.newArrayNoCopyLight(Ruby runtime, IRubyObject[] args)
           
static RubyBignum RubyBignum.newBignum(Ruby runtime, java.math.BigInteger value)
           
static RubyBignum RubyBignum.newBignum(Ruby runtime, double value)
           
static RubyBignum RubyBignum.newBignum(Ruby runtime, long value)
           
static RubyBignum RubyBignum.newBignum(Ruby runtime, java.lang.String value)
           
static RubyBinding RubyBinding.newBinding(Ruby runtime)
           
static RubyBinding RubyBinding.newBinding(Ruby runtime, Binding binding)
           
static RubyBinding RubyBinding.newBindingForEval(Ruby runtime)
          Create a binding appropriate for a bare "eval", by using the previous (caller's) frame and current scope.
static RubyBoolean RubyBoolean.newBoolean(Ruby runtime, boolean value)
           
static RubyClass RubyClass.newClass(Ruby runtime, RubyClass superClass)
          rb_class_new
static RubyClass RubyClass.newClass(Ruby runtime, RubyClass superClass, java.lang.String name, ObjectAllocator allocator, RubyModule parent, boolean setParent)
          rb_class_new/rb_define_class_id/rb_name_class/rb_set_class_path
static RubyArray RubyArray.newEmptyArray(Ruby runtime)
           
static RubyString RubyString.newEmptyString(Ruby runtime)
           
static RubyString RubyString.newEmptyString(Ruby runtime, RubyClass metaClass)
           
static RubyException RubyException.newException(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
           
static RubyFileStat RubyFileStat.newFileStat(Ruby runtime, java.io.FileDescriptor descriptor)
           
static RubyFileStat RubyFileStat.newFileStat(Ruby runtime, java.lang.String filename, boolean lstat)
           
static RubyFixnum RubyFixnum.newFixnum(Ruby runtime, long value)
           
static RubyFloat RubyFloat.newFloat(Ruby runtime, double value)
           
static RubyHash RubyHash.newHash(Ruby runtime)
          rb_hash_new
static RubyHash RubyHash.newHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
          rb_hash_new
static RubySystemExit RubySystemExit.newInstance(Ruby runtime, int status)
           
static RubyIconv.RubyFailure RubyIconv.RubyFailure.newInstance(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
           
static RubyModule RubyModule.newModule(Ruby runtime)
          rb_module_new
static RubyModule RubyModule.newModule(Ruby runtime, java.lang.String name, RubyModule parent, boolean setParent)
          rb_module_new/rb_define_module_id/rb_name_class/rb_set_class_path
static RubyNumeric RubyNumeric.newNumeric(Ruby runtime)
           
static RubyProc RubyProc.newProc(Ruby runtime, Block.Type type)
           
static RubyProc RubyProc.newProc(Ruby runtime, Block block, Block.Type type)
           
static RubyProcess.RubyStatus RubyProcess.RubyStatus.newProcessStatus(Ruby runtime, long status)
           
static RubyRange RubyRange.newRange(Ruby runtime, ThreadContext context, IRubyObject begin, IRubyObject end, boolean isExclusive)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, ByteList pattern, int options, boolean quote)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, java.lang.String pattern, int options)
           
static RubyString RubyString.newString(Ruby runtime, byte[] bytes)
           
static RubyString RubyString.newString(Ruby runtime, byte[] bytes, int start, int length)
           
static RubyString RubyString.newString(Ruby runtime, java.lang.CharSequence str)
          rb_str_new2
static RubyString RubyString.newString(Ruby runtime, RubyClass clazz, java.lang.CharSequence str)
           
static RubyString RubyString.newStringLight(Ruby runtime, ByteList bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes)
           
static RubyString RubyString.newStringShared(Ruby runtime, RubyString orig)
           
static RubySymbol RubySymbol.newSymbol(Ruby runtime, java.lang.String name)
           
static RubyTime RubyTime.newTime(Ruby runtime, DateTime dt, long usec)
           
static RubyTime RubyTime.newTime(Ruby runtime, long milliseconds)
           
static RubyString RubyString.newUnicodeString(Ruby runtime, java.lang.String str)
           
static RubyFixnum RubyFixnum.one(Ruby runtime)
           
static IRubyObject RubyIO.select_static(ThreadContext context, Ruby runtime, IRubyObject[] args)
           
static void Ruby.setCurrentInstance(Ruby runtime)
           
static RubyFloat RubyNumeric.str2fnum(Ruby runtime, RubyString arg)
           
static RubyFloat RubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict)
          Converts a string representation of a floating-point number to the numeric value.
static RubyInteger RubyNumeric.str2inum(Ruby runtime, RubyString str, int base)
           
static RubyInteger RubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict)
          Converts a string representation of an integer to the integer value.
static RubyFixnum RubyFixnum.zero(Ruby runtime)
           
 

Constructors in org.jruby with parameters of type Ruby
IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule delegate)
           
MetaClass(Ruby runtime)
          NEWOBJ (in RubyObject#getSingletonClassClone())
MetaClass(Ruby runtime, RubyClass superClass)
          rb_class_boot (for MetaClasses) (in makeMetaClass(RubyClass))
NativeException(Ruby runtime, RubyClass rubyClass, java.lang.Throwable cause)
           
RubyArray(Ruby runtime, long length, IRubyObject[] vals)
           
RubyArray(Ruby runtime, RubyClass klass)
           
RubyBigDecimal(Ruby runtime, java.math.BigDecimal value)
           
RubyBigDecimal(Ruby runtime, RubyClass klass)
           
RubyBignum(Ruby runtime, java.math.BigInteger value)
           
RubyBinding(Ruby runtime, RubyClass rubyClass, Binding binding)
           
RubyBoolean(Ruby runtime, boolean value)
           
RubyClass(Ruby runtime)
          used by CLASS_ALLOCATOR (any Class' class will be a Class!) also used to bootstrap Object class
RubyClass(Ruby runtime, RubyClass superClazz)
          rb_class_boot (for plain Classes) also used to bootstrap Module and Class classes
RubyClass(Ruby runtime, RubyClass superClass, boolean objectSpace)
          separate path for MetaClass and IncludedModuleWrapper construction (rb_class_boot version for MetaClasses) no marshal, allocator initialization and addSubclass(this) here!
RubyDigest.Base(Ruby runtime, RubyClass type)
           
RubyDir(Ruby runtime, RubyClass type)
           
RubyEnumerable.AppendBlockCallback(Ruby runtime, RubyArray result)
           
RubyException(Ruby runtime, RubyClass rubyClass)
           
RubyException(Ruby runtime, RubyClass rubyClass, java.lang.String message)
           
RubyFile(Ruby runtime, RubyClass type)
           
RubyFile(Ruby runtime, java.lang.String path, java.io.InputStream in)
           
RubyFile(Ruby runtime, java.lang.String path, java.io.Reader reader)
           
RubyFileStat(Ruby runtime, RubyClass clazz)
           
RubyFixnum(Ruby runtime)
           
RubyFixnum(Ruby runtime, long value)
           
RubyFloat(Ruby runtime)
           
RubyFloat(Ruby runtime, double value)
           
RubyGlobal.KCodeGlobalVariable(Ruby runtime, java.lang.String name, IRubyObject value)
           
RubyGlobal.StringGlobalVariable(Ruby runtime, java.lang.String name, IRubyObject value)
           
RubyGlobal.StringOnlyRubyHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
           
RubyHash(Ruby runtime)
           
RubyHash(Ruby runtime, IRubyObject defaultValue)
           
RubyHash(Ruby runtime, java.util.Map valueMap, IRubyObject defaultValue)
           
RubyHash(Ruby runtime, RubyClass klass)
           
RubyIconv.RubyFailure(Ruby runtime, RubyClass rubyClass)
           
RubyIconv.RubyFailure(Ruby runtime, RubyClass rubyClass, java.lang.String message)
           
RubyIconv(Ruby runtime, RubyClass type)
           
RubyInteger(Ruby runtime, RubyClass rubyClass)
           
RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace)
           
RubyIO(Ruby runtime, java.nio.channels.Channel channel)
           
RubyIO(Ruby runtime, java.io.InputStream inputStream)
           
RubyIO(Ruby runtime, java.io.OutputStream outputStream)
           
RubyIO(Ruby runtime, java.lang.Process process, ModeFlags modes)
           
RubyIO(Ruby runtime, RubyClass type)
           
RubyIO(Ruby runtime, STDIO stdio)
           
RubyLocalJumpError(Ruby runtime, RubyClass exceptionClass, java.lang.String message, java.lang.String reason, IRubyObject exitValue)
           
RubyMatchData(Ruby runtime)
           
RubyMethod(Ruby runtime, RubyClass rubyClass)
           
RubyModule(Ruby runtime)
          standard path for Module construction
RubyModule(Ruby runtime, RubyClass metaClass)
          used by MODULE_ALLOCATOR and RubyClass constructors
RubyModule(Ruby runtime, RubyClass metaClass, boolean objectSpace)
          separate path for MetaClass construction
RubyNameError(Ruby runtime, RubyClass exceptionClass)
           
RubyNameError(Ruby runtime, RubyClass exceptionClass, java.lang.String message)
           
RubyNameError(Ruby runtime, RubyClass exceptionClass, java.lang.String message, java.lang.String name)
           
RubyNil(Ruby runtime)
           
RubyNoMethodError(Ruby runtime, RubyClass exceptionClass)
           
RubyNoMethodError(Ruby runtime, RubyClass exceptionClass, java.lang.String message, java.lang.String name, IRubyObject args)
           
RubyNumeric(Ruby runtime, RubyClass metaClass)
           
RubyNumeric(Ruby runtime, RubyClass metaClass, boolean useObjectSpace)
           
RubyObject(Ruby runtime, RubyClass metaClass)
          standard path for object creation
RubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace)
          path for objects who want to decide whether they want to be in ObjectSpace regardless of it being turned on or off (notably used by objects being considered immediate, they'll always pass false here)
RubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type)
           
RubyProcess.RubyStatus(Ruby runtime, RubyClass metaClass, long status)
           
RubyStringIO(Ruby runtime, RubyClass klass)
           
RubyStringScanner(Ruby runtime, RubyClass type)
           
RubyStruct(Ruby runtime, RubyClass rubyClass)
          Constructor for RubyStruct.
RubySymbol.SymbolTable(Ruby runtime)
           
RubySystemCallError(Ruby runtime, RubyClass rubyClass)
           
RubySystemCallError(Ruby runtime, RubyClass rubyClass, java.lang.String message, int errno)
           
RubySystemExit(Ruby runtime, RubyClass exceptionClass)
           
RubyThread(Ruby runtime, RubyClass type)
           
RubyTime(Ruby runtime, RubyClass rubyClass)
           
RubyTime(Ruby runtime, RubyClass rubyClass, DateTime dt)
           
RubyUnboundMethod(Ruby runtime)
           
RubyZlib.Deflate(Ruby runtime, RubyClass type)
           
RubyZlib.Inflate(Ruby runtime, RubyClass type)
           
RubyZlib.RubyGzipFile(Ruby runtime, RubyClass type)
           
RubyZlib.RubyGzipReader(Ruby runtime, RubyClass type)
           
RubyZlib.RubyGzipWriter(Ruby runtime, RubyClass type)
           
RubyZlib.ZStream(Ruby runtime, RubyClass type)
           
 

Uses of Ruby in org.jruby.ast
 

Methods in org.jruby.ast with parameters of type Ruby
 RubyFixnum FixnumNode.getFixnum(Ruby runtime)
           
 RubySymbol SymbolNode.getSymbol(Ruby runtime)
           
 

Uses of Ruby in org.jruby.ast.executable
 

Methods in org.jruby.ast.executable with parameters of type Ruby
static YARVMachine.Instruction[] YARVMachineTest.getFib(Ruby runtime, int n)
           
static YARVMachine.Instruction[] YARVMachineTest.getSimpleTest(Ruby runtime)
           
 

Constructors in org.jruby.ast.executable with parameters of type Ruby
RubiniusRunner(Ruby runtime, java.io.InputStream in, java.lang.String filename)
           
YARVCompiledRunner(Ruby runtime, java.io.InputStream in, java.lang.String filename)
           
YARVCompiledRunner(Ruby runtime, YARVMachine.InstructionSequence iseq)
           
YARVMachine.InstructionSequence(Ruby runtime, java.lang.String name, java.lang.String file, java.lang.String type)
           
 

Uses of Ruby in org.jruby.ast.util
 

Methods in org.jruby.ast.util with parameters of type Ruby
static RubyArray ArgsUtil.convertToRubyArray(Ruby runtime, IRubyObject value, boolean coerce)
          This name may be a bit misleading, since this also attempts to coerce array behavior using to_ary.
 

Uses of Ruby in org.jruby.common
 

Constructors in org.jruby.common with parameters of type Ruby
RubyWarnings(Ruby runtime)
           
 

Uses of Ruby in org.jruby.compiler
 

Methods in org.jruby.compiler with parameters of type Ruby
static void JITCompiler.runJIT(DefaultMethod method, Ruby runtime, ThreadContext context, java.lang.String name)
           
 

Uses of Ruby in org.jruby.compiler.yarv
 

Constructors in org.jruby.compiler.yarv with parameters of type Ruby
StandardYARVCompiler(Ruby runtime)
           
 

Uses of Ruby in org.jruby.demo
 

Methods in org.jruby.demo with parameters of type Ruby
 void TextAreaReadline.hookIntoRuntime(Ruby runtime)
           
 

Uses of Ruby in org.jruby.environment
 

Methods in org.jruby.environment with parameters of type Ruby
 java.util.Map OSEnvironment.getEnvironmentVariableMap(Ruby runtime)
          Returns the OS environment variables as a Map.
 java.util.Map OSEnvironment.getSystemPropertiesMap(Ruby runtime)
          Returns java system properties as a Map.
 java.util.Map IOSEnvironmentReader.getVariables(Ruby runtime)
          Get the operating system environment variables.
 boolean IOSEnvironmentReader.isAccessible(Ruby runtime)
          Determines whether the OS environment variables are accessible using a given implementation.
 

Uses of Ruby in org.jruby.evaluator
 

Methods in org.jruby.evaluator with parameters of type Ruby
static RubyArray ASTInterpreter.arrayValue(Ruby runtime, IRubyObject value)
           
static IRubyObject ASTInterpreter.aryToAry(IRubyObject value, Ruby runtime)
           
static IRubyObject ASTInterpreter.aryToAry(Ruby runtime, IRubyObject value)
           
static IRubyObject AssignmentVisitor.assign(Ruby runtime, ThreadContext context, IRubyObject self, Node node, IRubyObject value, Block block, boolean checkArity)
           
static IRubyObject ASTInterpreter.aValueSplat(IRubyObject value, Ruby runtime)
           
static IRubyObject ASTInterpreter.aValueSplat(Ruby runtime, IRubyObject value)
           
static IRubyObject ASTInterpreter.eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
           
static Block ASTInterpreter.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
static RubyModule ASTInterpreter.getClassVariableBase(ThreadContext context, Ruby runtime)
           
static IRubyObject AssignmentVisitor.multiAssign(Ruby runtime, ThreadContext context, IRubyObject self, MultipleAsgnNode node, RubyArray value, boolean checkArity)
           
static RubyArray ASTInterpreter.splatValue(IRubyObject value, Ruby runtime)
           
static RubyArray ASTInterpreter.splatValue(Ruby runtime, IRubyObject value)
           
 

Constructors in org.jruby.evaluator with parameters of type Ruby
ValueConverter(Ruby runtime)
           
 

Uses of Ruby in org.jruby.exceptions
 

Methods in org.jruby.exceptions with parameters of type Ruby
static RaiseException RaiseException.createNativeRaiseException(Ruby runtime, java.lang.Throwable cause)
           
 

Constructors in org.jruby.exceptions with parameters of type Ruby
RaiseException(Ruby runtime, RubyClass excptnClass, java.lang.String msg, boolean nativeException)
           
 

Uses of Ruby in org.jruby.ext
 

Methods in org.jruby.ext with parameters of type Ruby
static void NetProtocolBufferedIO.create(Ruby runtime)
           
static void Generator.createGenerator(Ruby runtime)
           
static void Readline.createReadline(Ruby runtime)
           
static Readline.ConsoleHolder Readline.getHolder(Ruby runtime)
           
protected static void Readline.initReadline(Ruby runtime, Readline.ConsoleHolder holder)
           
 void Generator.Service.load(Ruby runtime, boolean wrap)
           
 void LateLoadingLibrary.load(Ruby runtime, boolean wrap)
           
 void Readline.Service.load(Ruby runtime, boolean wrap)
           
 void WeakRef.WeakRefLibrary.load(Ruby runtime, boolean wrap)
           
 

Constructors in org.jruby.ext with parameters of type Ruby
JRubyPOSIXHandler(Ruby runtime)
           
WeakRef(Ruby runtime, RubyClass klazz)
           
 

Uses of Ruby in org.jruby.ext.socket
 

Methods in org.jruby.ext.socket with parameters of type Ruby
 void RubySocket.Service.load(Ruby runtime, boolean wrap)
           
protected static void RubyUNIXSocket.rb_sys_fail(Ruby runtime, java.lang.String message)
           
 

Constructors in org.jruby.ext.socket with parameters of type Ruby
RubyBasicSocket(Ruby runtime, RubyClass type)
           
RubyIPSocket(Ruby runtime, RubyClass type)
           
RubySocket(Ruby runtime, RubyClass type)
           
RubyTCPServer(Ruby runtime, RubyClass type)
           
RubyTCPSocket(Ruby runtime, RubyClass type)
           
RubyUDPSocket(Ruby runtime, RubyClass type)
           
RubyUNIXServer(Ruby runtime, RubyClass type)
           
RubyUNIXSocket(Ruby runtime, RubyClass type)
           
 

Uses of Ruby in org.jruby.internal.runtime
 

Methods in org.jruby.internal.runtime with parameters of type Ruby
static GlobalVariable GlobalVariable.newUndefined(Ruby runtime, java.lang.String name)
           
 

Constructors in org.jruby.internal.runtime with parameters of type Ruby
GlobalVariables(Ruby runtime)
           
ThreadService(Ruby runtime)
           
UndefinedAccessor(Ruby runtime, GlobalVariable globalVariable, java.lang.String name)
          Constructor for UndefinedAccessor.
 

Uses of Ruby in org.jruby.internal.runtime.methods
 

Methods in org.jruby.internal.runtime.methods with parameters of type Ruby
 IRubyObject DefaultMethod.interpretedCall(ThreadContext context, Ruby runtime, IRubyObject self, RubyModule clazz, java.lang.String name, IRubyObject[] args, Block block)
           
 

Uses of Ruby in org.jruby.javasupport
 

Methods in org.jruby.javasupport that return Ruby
static Ruby JavaEmbedUtils.initialize(java.util.List loadPaths)
          Get an instance of a JRuby runtime.
static Ruby JavaEmbedUtils.initialize(java.util.List loadPaths, ClassCache classCache)
          Get an instance of a JRuby runtime.
static Ruby JavaEmbedUtils.initialize(java.util.List loadPaths, RubyInstanceConfig config)
          Get an instance of a JRuby runtime.
 

Methods in org.jruby.javasupport with parameters of type Ruby
 IRubyObject JavaUtil.JavaConverter.convert(Ruby runtime, java.lang.Object object)
           
static java.lang.Object JavaUtil.convertArgument(Ruby runtime, java.lang.Object argument, java.lang.Class<?> parameterType)
           
static IRubyObject[] JavaUtil.convertJavaArrayToRuby(Ruby runtime, java.lang.Object[] objects)
           
static IRubyObject JavaUtil.convertJavaToRuby(Ruby runtime, java.lang.Object object)
          Converts object to the corresponding Ruby type; however, for non-primitives, a JavaObject instance is returned.
static IRubyObject JavaUtil.convertJavaToRuby(Ruby runtime, java.lang.Object object, java.lang.Class javaClass)
           
static IRubyObject JavaUtil.convertJavaToUsableRubyObject(Ruby runtime, java.lang.Object object)
          Returns a usable RubyObject; for types that are not converted to Ruby native types, a Java proxy will be returned.
static JavaMethod JavaMethod.create(Ruby runtime, java.lang.Class<?> javaClass, java.lang.String methodName, java.lang.Class<?>[] argumentTypes)
           
static JavaConstructor JavaConstructor.create(Ruby runtime, java.lang.reflect.Constructor<?> constructor)
           
static JavaMethod JavaMethod.create(Ruby runtime, java.lang.reflect.Method method)
           
static JavaMethod JavaMethod.createDeclared(Ruby runtime, java.lang.Class<?> javaClass, java.lang.String methodName, java.lang.Class<?>[] argumentTypes)
           
static RubyClass JavaArray.createJavaArrayClass(Ruby runtime, RubyModule javaModule)
           
static RubyModule JavaArrayUtilities.createJavaArrayUtilitiesModule(Ruby runtime)
           
static RubyClass JavaClass.createJavaClassClass(Ruby runtime, RubyModule javaModule)
           
static RubyClass JavaConstructor.createJavaConstructorClass(Ruby runtime, RubyModule javaModule)
           
static RubyClass JavaField.createJavaFieldClass(Ruby runtime, RubyModule javaModule)
           
static RubyClass JavaMethod.createJavaMethodClass(Ruby runtime, RubyModule javaModule)
           
static RubyModule Java.createJavaModule(Ruby runtime)
           
static RubyClass JavaObject.createJavaObjectClass(Ruby runtime, RubyModule javaModule)
           
static JavaClass JavaClass.forNameQuiet(Ruby runtime, java.lang.String className)
           
static JavaClass JavaClass.forNameVerbose(Ruby runtime, java.lang.String className)
           
static JavaClass JavaClass.get(Ruby runtime, java.lang.Class<?> klass)
           
static IRubyObject Java.getInstance(Ruby runtime, java.lang.Object rawJavaObject)
          Returns a new proxy instance of a type corresponding to rawJavaObject's class, or the cached proxy if we've already seen this object.
static RubyModule Java.getInterfaceModule(Ruby runtime, JavaClass javaClass)
           
static JavaCallable JavaClass.getMatchingCallable(Ruby runtime, java.lang.Class<?> javaClass, java.lang.String methodName, java.lang.Class<?>[] argumentTypes)
           
static JavaConstructor JavaConstructor.getMatchingConstructor(Ruby runtime, java.lang.Class<?> javaClass, java.lang.Class<?>[] argumentTypes)
           
static JavaMethod JavaMethod.getMatchingDeclaredMethod(Ruby runtime, java.lang.Class<?> javaClass, java.lang.String methodName, java.lang.Class<?>[] argumentTypes)
           
static RubyModule Java.getPackageModule(Ruby runtime, java.lang.String name)
           
static RubyModule Java.getProxyClass(Ruby runtime, JavaClass javaClass)
           
static RubyModule Java.getProxyOrPackageUnderPackage(Ruby runtime, RubyModule parentPackage, java.lang.String sym)
           
static RubyArray JavaClass.getRubyArray(Ruby runtime, java.lang.Class<?>[] classes)
           
static RubyModule Java.getTopLevelProxyOrPackage(Ruby runtime, java.lang.String sym)
           
static java.lang.Object JavaEmbedUtils.invokeMethod(Ruby runtime, java.lang.Object receiver, java.lang.String method, java.lang.Object[] args, java.lang.Class returnType)
          Convenience function for embedders
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, boolean value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, byte value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, char value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, double value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, float value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, int value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, long value)
           
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, java.lang.Object value)
          Convert a java object to a Ruby object.
static IRubyObject JavaEmbedUtils.javaToRuby(Ruby runtime, short value)
           
 void Java.load(Ruby runtime, boolean wrap)
           
static void JavaAccessibleObject.registerRubyMethods(Ruby runtime, RubyClass result)
           
static void JavaCallable.registerRubyMethods(Ruby runtime, RubyClass result)
           
protected static void JavaObject.registerRubyMethods(Ruby runtime, RubyClass result)
           
static java.lang.Object JavaEmbedUtils.rubyToJava(Ruby runtime, IRubyObject value, java.lang.Class type)
          Convert a Ruby object to a Java object.
static void JavaEmbedUtils.terminate(Ruby runtime)
          Dispose of the runtime you initialized.
static IRubyObject Java.wrap(Ruby runtime, IRubyObject java_object)
           
static JavaObject JavaObject.wrap(Ruby runtime, java.lang.Object value)
           
 

Constructors in org.jruby.javasupport with parameters of type Ruby
JavaAccessibleObject(Ruby runtime, RubyClass rubyClass)
           
JavaArray(Ruby runtime, java.lang.Object array)
           
JavaCallable(Ruby runtime, RubyClass rubyClass)
           
JavaConstructor(Ruby runtime, java.lang.reflect.Constructor<?> constructor)
           
JavaField(Ruby runtime, java.lang.reflect.Field field)
           
JavaMethod(Ruby runtime, java.lang.reflect.Method method)
           
JavaObject(Ruby runtime, java.lang.Object value)
           
JavaObject(Ruby runtime, RubyClass rubyClass, java.lang.Object value)
           
JavaSupport(Ruby ruby)
           
 

Uses of Ruby in org.jruby.javasupport.proxy
 

Methods in org.jruby.javasupport.proxy with parameters of type Ruby
static RubyClass JavaProxyClass.createJavaProxyClassClass(Ruby runtime, RubyModule javaModule)
           
static RubyClass JavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime, RubyModule javaProxyModule)
           
static RubyClass JavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime, RubyModule javaProxyModule)
           
static void JavaProxyClass.createJavaProxyModule(Ruby runtime)
           
static JavaProxyClass JavaProxyClass.getProxyClass(Ruby runtime, java.lang.Class superClass, java.lang.Class[] interfaces)
           
static JavaProxyClass JavaProxyClass.getProxyClass(Ruby runtime, java.lang.Class superClass, java.lang.Class[] interfaces, java.util.Set names)
           
static java.lang.Object JavaProxyClass.newProxyInstance(Ruby runtime, java.lang.Class superClass, java.lang.Class[] interfaces, java.lang.Class[] constructorParameters, java.lang.Object[] constructorArgs, JavaProxyInvocationHandler handler)
           
protected static void JavaProxyReflectionObject.registerRubyMethods(Ruby runtime, RubyClass result)
           
 

Constructors in org.jruby.javasupport.proxy with parameters of type Ruby
JavaProxyClass.ProxyMethodImpl(Ruby runtime, JavaProxyClass clazz, java.lang.reflect.Method m, java.lang.reflect.Method sm)
           
JavaProxyReflectionObject(Ruby runtime, RubyClass metaClass)
           
 

Uses of Ruby in org.jruby.javasupport.test
 

Methods in org.jruby.javasupport.test that return Ruby
protected  Ruby RubyTestCase.createRuby(java.net.URL url)
           
 

Methods in org.jruby.javasupport.test with parameters of type Ruby
protected  void RubyTestCase.initRuby(Ruby runtime)
           
 

Uses of Ruby in org.jruby.javasupport.util
 

Methods in org.jruby.javasupport.util with parameters of type Ruby
static IRubyObject RuntimeHelpers.breakLocalJumpError(Ruby runtime, IRubyObject value)
           
static IRubyObject RuntimeHelpers.callZSuper(Ruby runtime, ThreadContext context, Block block, IRubyObject self)
           
static RubyHash RuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1)
           
static RubyHash RuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2)
           
static RubyHash RuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3)
           
static CompiledBlockCallback RuntimeHelpers.createBlockCallback(Ruby runtime, java.lang.Object scriptObject, java.lang.String closureMethod)
           
static RubyArray RuntimeHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start)
           
static IRubyObject RuntimeHelpers.declareClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String name, IRubyObject value)
           
static RubyArray RuntimeHelpers.ensureMultipleAssignableRubyArray(Ruby runtime, IRubyObject value, boolean masgnHasHead)
           
static IRubyObject RuntimeHelpers.fastDeclareClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String internedName, IRubyObject value)
           
static IRubyObject RuntimeHelpers.fastFetchClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String internedName)
           
static IRubyObject RuntimeHelpers.fastGetInstanceVariable(Ruby runtime, IRubyObject self, java.lang.String internedName)
           
static IRubyObject RuntimeHelpers.fastSetClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String internedName, IRubyObject value)
           
static IRubyObject RuntimeHelpers.fetchClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String name)
           
static IRubyObject RuntimeHelpers.getBackref(Ruby runtime, ThreadContext context)
           
static IRubyObject RuntimeHelpers.getErrorInfo(Ruby runtime)
           
static IRubyObject RuntimeHelpers.getInstanceVariable(Ruby runtime, IRubyObject self, java.lang.String name)
           
static IRubyObject RuntimeHelpers.getLastLine(Ruby runtime, ThreadContext context)
           
static RubyClass RuntimeHelpers.getSingletonClass(Ruby runtime, IRubyObject receiver)
           
static void RuntimeHelpers.handleArgumentSizes(ThreadContext context, Ruby runtime, int given, int required, int opt, int rest)
           
static IRubyObject RuntimeHelpers.isExceptionHandled(RubyException currentException, IRubyObject[] exceptions, Ruby runtime, ThreadContext context, IRubyObject self)
           
static IRubyObject RuntimeHelpers.negate(IRubyObject value, Ruby runtime)
           
static IRubyObject RuntimeHelpers.nextLocalJumpError(Ruby runtime, IRubyObject value)
           
static IRubyObject RuntimeHelpers.nullToNil(IRubyObject value, Ruby runtime)
           
static RubyClass RuntimeHelpers.prepareSuperClass(Ruby runtime, IRubyObject rubyClass)
           
static IRubyObject RuntimeHelpers.processBlockArgument(Ruby runtime, Block block)
           
static IRubyObject RuntimeHelpers.redoLocalJumpError(Ruby runtime)
           
static void RuntimeHelpers.registerEndBlock(Block block, Ruby runtime)
           
static void RuntimeHelpers.setBackref(Ruby runtime, ThreadContext context, IRubyObject value)
           
static IRubyObject RuntimeHelpers.setClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String name, IRubyObject value)
           
static void RuntimeHelpers.setErrorInfo(Ruby runtime, IRubyObject error)
           
static void RuntimeHelpers.setLastLine(Ruby runtime, ThreadContext context, IRubyObject value)
           
static IRubyObject RuntimeHelpers.stringOrNil(java.lang.String value, Ruby runtime, IRubyObject nil)
           
 

Uses of Ruby in org.jruby.libraries
 

Methods in org.jruby.libraries with parameters of type Ruby
 void BigDecimalLibrary.load(Ruby runtime, boolean wrap)
           
 void DigestLibrary.load(Ruby runtime, boolean wrap)
           
 void DigestLibrary.MD5.load(Ruby runtime, boolean wrap)
           
 void DigestLibrary.RMD160.load(Ruby runtime, boolean wrap)
           
 void DigestLibrary.SHA1.load(Ruby runtime, boolean wrap)
           
 void DigestLibrary.SHA2.load(Ruby runtime, boolean wrap)
           
 void EnumeratorLibrary.load(Ruby runtime, boolean wrap)
           
 void EtcLibrary.load(Ruby runtime, boolean wrap)
           
 void FiberLibrary.load(Ruby runtime, boolean wrap)
           
 void IConvLibrary.load(Ruby runtime, boolean wrap)
           
 void IOWaitLibrary.load(Ruby runtime, boolean wrap)
           
 void JRubyLibrary.load(Ruby runtime, boolean wrap)
           
 void NKFLibrary.load(Ruby runtime, boolean wrap)
           
 void NetProtocolBufferedIOLibrary.load(Ruby runtime, boolean wrap)
           
 void RbConfigLibrary.load(Ruby runtime, boolean wrap)
          Just enough configuration settings (most don't make sense in Java) to run the rubytests unit tests.
 void StringIOLibrary.load(Ruby runtime, boolean wrap)
           
 void StringScannerLibrary.load(Ruby runtime, boolean wrap)
           
 void ThreadLibrary.load(Ruby runtime, boolean wrap)
           
 void YamlLibrary.load(Ruby runtime, boolean wrap)
           
 void ZlibLibrary.load(Ruby runtime, boolean wrap)
           
static void FiberLibrary.Fiber.setup(Ruby runtime)
           
static void ThreadLibrary.Mutex.setup(Ruby runtime)
           
static void ThreadLibrary.ConditionVariable.setup(Ruby runtime)
           
static void ThreadLibrary.Queue.setup(Ruby runtime)
           
static void ThreadLibrary.SizedQueue.setup(Ruby runtime)
           
 

Constructors in org.jruby.libraries with parameters of type Ruby
FiberLibrary.Fiber(Ruby runtime, RubyClass type)
           
ThreadLibrary.ConditionVariable(Ruby runtime, RubyClass type)
           
ThreadLibrary.Mutex(Ruby runtime, RubyClass type)
           
ThreadLibrary.Queue(Ruby runtime, RubyClass type)
           
ThreadLibrary.SizedQueue(Ruby runtime, RubyClass type)
           
 

Uses of Ruby in org.jruby.parser
 

Constructors in org.jruby.parser with parameters of type Ruby
Parser(Ruby runtime)
           
 

Uses of Ruby in org.jruby.runtime
 

Fields in org.jruby.runtime declared as Ruby
protected  Ruby GlobalVariable.runtime
           
 

Methods in org.jruby.runtime that return Ruby
 Ruby ThreadContext.getRuntime()
           
 

Methods in org.jruby.runtime with parameters of type Ruby
 IRubyObject ObjectAllocator.allocate(Ruby runtime, RubyClass klazz)
           
static int Arity.checkArgumentCount(Ruby runtime, IRubyObject[] args, int min, int max)
           
 void Arity.checkArity(Ruby runtime, IRubyObject[] args)
           
static IRubyObject ThreadContext.createBacktraceFromFrames(Ruby runtime, Frame[] backtraceFrames)
          Create an Array with backtrace information.
static CallbackFactory CallbackFactory.createFactory(Ruby runtime, java.lang.Class type)
           
static CallbackFactory CallbackFactory.createFactory(Ruby runtime, java.lang.Class type, java.lang.ClassLoader classLoader)
           
 void ObjectMarshal.marshalTo(Ruby runtime, java.lang.Object obj, RubyClass type, MarshalStream marshalStream)
           
static ThreadContext ThreadContext.newContext(Ruby runtime)
           
static void Arity.raiseArgumentError(Ruby runtime, int length, int min, int max)
           
static IRubyObject[] Arity.scanArgs(Ruby runtime, IRubyObject[] args, int required, int optional)
           
 java.lang.Object ObjectMarshal.unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream)
           
 

Constructors in org.jruby.runtime with parameters of type Ruby
GlobalVariable.Copy(Ruby runtime, java.lang.String name, GlobalVariable other)
           
GlobalVariable(Ruby runtime, java.lang.String name, IRubyObject value)
           
ReadonlyGlobalVariable(Ruby runtime, java.lang.String name, IRubyObject value)
           
 

Uses of Ruby in org.jruby.runtime.builtin
 

Methods in org.jruby.runtime.builtin that return Ruby
 Ruby IRubyObject.getRuntime()
          RubyMethod getRuntime.
 

Uses of Ruby in org.jruby.runtime.callback
 

Fields in org.jruby.runtime.callback declared as Ruby
protected  Ruby InvocationCallbackFactory.runtime
           
 

Constructors in org.jruby.runtime.callback with parameters of type Ruby
DumpingInvocationCallbackFactory(Ruby runtime, java.lang.Class type, java.lang.ClassLoader classLoader)
           
InvocationCallbackFactory(Ruby runtime, java.lang.Class type, java.lang.ClassLoader classLoader)
           
 

Uses of Ruby in org.jruby.runtime.load
 

Fields in org.jruby.runtime.load declared as Ruby
protected  Ruby LoadService.runtime
           
 

Methods in org.jruby.runtime.load with parameters of type Ruby
 boolean BasicLibraryService.basicLoad(Ruby runtime)
           
 void ClassExtensionLibrary.load(Ruby runtime, boolean wrap)
           
 void ExternalScript.load(Ruby runtime, boolean wrap)
           
 void JarredScript.load(Ruby runtime, boolean wrap)
           
 void JavaCompiledScript.load(Ruby runtime, boolean wrap)
           
 void Library.load(Ruby runtime, boolean wrap)
           
 IRubyObject IAutoloadMethod.load(Ruby runtime, java.lang.String name)
           
 

Constructors in org.jruby.runtime.load with parameters of type Ruby
LoadService(Ruby runtime)
           
 

Uses of Ruby in org.jruby.runtime.marshal
 

Fields in org.jruby.runtime.marshal declared as Ruby
protected  Ruby UnmarshalStream.runtime
           
 

Methods in org.jruby.runtime.marshal that return Ruby
 Ruby UnmarshalStream.getRuntime()
           
 

Methods in org.jruby.runtime.marshal with parameters of type Ruby
static RubyClass UnmarshalStream.getClassFromPath(Ruby runtime, java.lang.String path)
           
static RubyModule UnmarshalStream.getModuleFromPath(Ruby runtime, java.lang.String path)
           
 

Constructors in org.jruby.runtime.marshal with parameters of type Ruby
MarshalStream(Ruby runtime, java.io.OutputStream out, int depthLimit)
           
UnmarshalCache(Ruby runtime)
           
UnmarshalStream(Ruby runtime, java.io.InputStream in, IRubyObject proc)
           
 

Uses of Ruby in org.jruby.test
 

Fields in org.jruby.test declared as Ruby
protected  Ruby TestRubyBase.runtime
           
protected  Ruby TestUnitTestSuite.runtime
           
 

Methods in org.jruby.test with parameters of type Ruby
 boolean BasicLibraryTestService.basicLoad(Ruby runtime)
           
 

Constructors in org.jruby.test with parameters of type Ruby
MockJavaSupport(Ruby ruby)
           
MockRubyObject(Ruby runtime)
           
TestRubyInstanceConfig.NullLoadService(Ruby runtime)
           
 

Uses of Ruby in org.jruby.util
 

Methods in org.jruby.util with parameters of type Ruby
static KCode KCode.create(Ruby runtime, java.lang.String lang)
           
abstract  IRubyObject Pack.Converter.decode(Ruby runtime, java.nio.ByteBuffer format)
           
static void Pack.decode(Ruby runtime, java.nio.ByteBuffer encode, int occurrences, RubyArray result, Pack.Converter converter)
           
static int Pack.encode(Ruby runtime, int occurrences, java.lang.StringBuffer result, RubyArray list, int index, Pack.Converter converter)
           
abstract  void Pack.Converter.encode(Ruby runtime, IRubyObject from, java.lang.StringBuffer result)
           
static int ShellLauncher.execAndWait(Ruby runtime, IRubyObject[] rawArgs)
           
 IRubyObject KCode.kcode(Ruby runtime)
           
 void BuiltinScript.load(Ruby runtime, boolean wrap)
           
static RubyString Pack.pack(Ruby runtime, RubyArray list, ByteList formatString)
          pack_pack Template characters for Array#pack Directive Meaning
Directive Meaning @ Moves to absolute position A ASCII string (space padded, count is width) a ASCII string (null padded, count is width) B Bit string (descending bit order) b Bit string (ascending bit order) C Unsigned char c Char d Double-precision float, native format E Double-precision float, little-endian byte order e Single-precision float, little-endian byte order f Single-precision float, native format G Double-precision float, network (big-endian) byte order g Single-precision float, network (big-endian) byte order H Hex string (high nibble first) h Hex string (low nibble first) I Unsigned integer i Integer L Unsigned long l Long M Quoted printable, MIME encoding (see RFC2045) m Base64 encoded string N Long, network (big-endian) byte order n Short, network (big-endian) byte-order P Pointer to a structure (fixed-length string) p Pointer to a null-terminated string Q Unsigned 64-bit number q 64-bit number S Unsigned short s Short U UTF-8 u UU-encoded string V Long, little-endian byte order v Short, little-endian byte order X Back up a byte x Null byte Z Same as ``A'' Packs the contents of arr into a binary sequence according to the directives in aTemplateString (see preceding table).
static java.lang.Process ShellLauncher.popen(Ruby runtime, IRubyObject string, ModeFlags modes)
           
static java.lang.Process ShellLauncher.run(Ruby runtime, IRubyObject string)
           
static java.lang.Process ShellLauncher.run(Ruby runtime, IRubyObject[] rawArgs)
           
static int ShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs)
           
static int ShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs, java.io.OutputStream output)
           
static java.lang.CharSequence Sprintf.sprintf(Ruby runtime, java.lang.CharSequence format, int arg)
           
static java.lang.CharSequence Sprintf.sprintf(Ruby runtime, java.lang.CharSequence format, long arg)
           
static RubyString Sprintf.sprintf(Ruby runtime, java.util.Locale locale, java.lang.CharSequence format, IRubyObject args)
           
static RubyArray Pack.unpack(Ruby runtime, ByteList encodedString, ByteList formatString)
          Decodes str (which may contain binary data) according to the format string, returning an array of each value extracted.
 

Constructors in org.jruby.util with parameters of type Ruby
ShellLauncher.POpenProcess(java.lang.Process child, Ruby runtime, ModeFlags modes)
           
 

Uses of Ruby in org.jruby.util.io
 

Methods in org.jruby.util.io that return Ruby
 Ruby ChannelStream.getRuntime()
           
 

Methods in org.jruby.util.io with parameters of type Ruby
 void OpenFile.checkClosed(Ruby runtime)
           
 void OpenFile.checkReadable(Ruby runtime)
           
 void OpenFile.checkWritable(Ruby runtime)
           
 void OpenFile.cleanup(Ruby runtime, boolean raise)
           
static Stream ChannelStream.fdopen(Ruby runtime, ChannelDescriptor descriptor, ModeFlags modes)
           
 void OpenFile.finalize(Ruby runtime, boolean raise)
           
 void OpenFile.Finalizer.finalize(Ruby runtime, boolean raise)
           
static Stream ChannelStream.fopen(Ruby runtime, java.lang.String path, ModeFlags modes)
           
 java.lang.String OpenFile.getModeAsString(Ruby runtime)
           
 

Constructors in org.jruby.util.io with parameters of type Ruby
ChannelStream(Ruby runtime, ChannelDescriptor descriptor)
           
ChannelStream(Ruby runtime, ChannelDescriptor descriptor, java.io.FileDescriptor fileDescriptor)
           
ChannelStream(Ruby runtime, ChannelDescriptor descriptor, ModeFlags modes)
           
ChannelStream(Ruby runtime, ChannelDescriptor descriptor, ModeFlags modes, java.io.FileDescriptor fileDescriptor)
           
 



Copyright © 2002-2007 JRuby Team. All Rights Reserved.