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.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.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   
 

Uses of Ruby in org.jruby
 

Fields in org.jruby declared as Ruby
protected  Ruby RubyEnumerator.SlicedBlockCallback.runtime
           
protected  Ruby RubyEnumerator.ConsecutiveBlockCallback.runtime
           
 

Methods in org.jruby that return Ruby
static Ruby Ruby.getDefaultInstance()
          Returns a default instance of the JRuby runtime.
 Ruby RubyBoolean.getRuntime()
           
 Ruby RubyClass.getRuntime()
           
 Ruby RubyNil.getRuntime()
           
 Ruby RubyObject.getRuntime()
          Getter for property ruby.
 Ruby RubyUndef.getRuntime()
           
static Ruby Ruby.newInstance(java.io.InputStream in, java.io.PrintStream out, java.io.PrintStream err)
          Returns a default instance of the JRuby runtime configured with the given input, output and error streams.
static Ruby Ruby.newInstance(RubyInstanceConfig config)
          Returns a default instance of the JRuby runtime configured as provided.
 

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)
           
static RubyClass RubyClass.cloneClass(Ruby runtime, RubyClass metaClass, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList parentCRef, java.lang.String name)
           
 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.createBootstrapMetaClass(Ruby runtime, java.lang.String className, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList cref)
          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 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 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 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)
           
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 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)
           
static IRubyObject RubyIO.fdOpen(Ruby runtime, int descriptor)
          Open a file descriptor, unless it is already open, then return it.
protected static java.util.List 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 java.util.TimeZone RubyTime.getLocalTimeZone(Ruby runtime)
           
static java.lang.String RubySymbol.getSymbol(Ruby runtime, long id)
           
static RubyNumeric RubyNumeric.int2fix(Ruby runtime, long val)
           
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.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, Block block)
           
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 RubyBinding RubyBinding.newBindingOfCaller(Ruby runtime)
           
static RubyBoolean RubyBoolean.newBoolean(Ruby runtime, boolean value)
           
static RubyClass RubyClass.newClass(Ruby runtime, RubyClass superClass, SinglyLinkedList parentCRef, java.lang.String name)
           
static RubyClass RubyClass.newClassClass(Ruby runtime, RubyClass moduleClass)
           
static RubyException RubyException.newException(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
           
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 RubyIconv.RubyFailure RubyIconv.RubyFailure.newInstance(Ruby runtime, RubyClass excptnClass, java.lang.String msg)
           
static RubyModule RubyModule.newModule(Ruby runtime, RubyClass type, java.lang.String name)
           
static RubyModule RubyModule.newModule(Ruby runtime, RubyClass type, java.lang.String name, SinglyLinkedList parentCRef)
           
static RubyModule RubyModule.newModule(Ruby runtime, java.lang.String name)
           
static RubyModule RubyModule.newModule(Ruby runtime, java.lang.String name, SinglyLinkedList parentCRef)
           
static RubyNumeric RubyNumeric.newNumeric(Ruby runtime)
           
static RubyProc RubyProc.newProc(Ruby runtime, Block block, boolean isLambda)
           
static RubyProc RubyProc.newProc(Ruby runtime, boolean isLambda)
           
static RubyProcess.RubyStatus RubyProcess.RubyStatus.newProcessStatus(Ruby runtime, long status)
           
static RubyRange RubyRange.newRange(Ruby runtime, IRubyObject begin, IRubyObject end, boolean isExclusive)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, ByteList str, int options, java.lang.String kcode)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, ByteList source, Pattern pattern, int flags, java.lang.String lang)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, java.lang.String str, int options, java.lang.String kcode)
           
static RubyRegexp RubyRegexp.newRegexp(Ruby runtime, java.lang.String source, Pattern pattern, int flags, java.lang.String lang)
           
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, ByteList bytes)
           
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.newStringShared(Ruby runtime, 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, java.util.Calendar cal)
           
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(Ruby runtime, IRubyObject[] args)
           
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, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList parentCRef)
           
NativeException(Ruby runtime, RubyClass rubyClass, java.lang.Throwable cause)
           
RubyArgsFile(Ruby runtime)
           
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, Block block)
           
RubyBoolean(Ruby runtime, boolean value)
           
RubyClass(Ruby runtime, RubyClass superClass, ObjectAllocator allocator)
           
RubyClass(Ruby runtime, RubyClass metaClass, RubyClass superClass, ObjectAllocator allocator)
           
RubyClass(Ruby runtime, RubyClass metaClass, RubyClass superClass, ObjectAllocator allocator, SinglyLinkedList parentCRef, java.lang.String name)
           
RubyDigest.Base(Ruby runtime, RubyClass type)
           
RubyDir(Ruby runtime, RubyClass type)
           
RubyEnumerable.AppendBlockCallback(Ruby runtime, RubyArray result)
           
RubyEnumerator.ConsecutiveBlockCallback(Ruby runtime, Block clientBlock, long contSize)
           
RubyEnumerator.SlicedBlockCallback(Ruby runtime, Block clientBlock, long sliceSize)
           
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)
           
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)
           
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)
           
RubyIO(Ruby runtime, java.nio.channels.Channel channel)
           
RubyIO(Ruby runtime, java.io.InputStream inputStream)
           
RubyIO(Ruby runtime, int descriptor)
           
RubyIO(Ruby runtime, java.io.OutputStream outputStream)
           
RubyIO(Ruby runtime, java.lang.Process process)
           
RubyIO(Ruby runtime, RubyClass type)
           
RubyLocalJumpError(Ruby runtime, RubyClass exceptionClass, java.lang.String message, java.lang.String reason, IRubyObject exitValue)
           
RubyMatchData.JavaString(Ruby runtime, java.lang.String original, Matcher matcher)
           
RubyMatchData.RString(Ruby runtime, RubyString original, Matcher matcher)
           
RubyMatchData(Ruby runtime, Matcher matcher)
           
RubyMethod(Ruby runtime, RubyClass rubyClass)
           
RubyModule(Ruby runtime, RubyClass metaClass, RubyClass superClass, SinglyLinkedList parentCRef, java.lang.String name)
           
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)
           
RubyObject(Ruby runtime, RubyClass metaClass)
           
RubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace)
           
RubyProc(Ruby runtime, RubyClass rubyClass, boolean isLambda)
           
RubyProcess.RubyStatus(Ruby runtime, RubyClass metaClass, long status)
           
RubyRange(Ruby runtime, RubyClass impl)
           
RubyRegexp(Ruby runtime, RubyClass klass)
           
RubyStringIO(Ruby runtime, RubyClass klass)
           
RubyStringScanner(Ruby runtime, RubyClass type)
           
RubyStruct(Ruby runtime, RubyClass rubyClass)
          Constructor for RubyStruct.
RubySystemExit(Ruby runtime, RubyClass exceptionClass)
           
RubyTime(Ruby runtime, RubyClass rubyClass)
           
RubyTime(Ruby runtime, RubyClass rubyClass, java.util.Calendar cal)
           
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)
           
 

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
YARVCompiledRunner(Ruby runtime, java.io.Reader reader, 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.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 EvaluationState.arrayValue(Ruby runtime, IRubyObject value)
           
static IRubyObject AssignmentVisitor.assign(Ruby runtime, ThreadContext context, IRubyObject self, Node node, IRubyObject value, Block block, boolean check)
           
static IRubyObject EvaluationState.aValueSplat(Ruby runtime, IRubyObject value)
           
static IRubyObject EvaluationState.eval(Ruby runtime, ThreadContext context, Node node, IRubyObject self, Block block)
           
static Block EvaluationState.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Block currentBlock, Node blockNode)
           
static RubyModule EvaluationState.getClassVariableBase(ThreadContext context, Ruby runtime)
           
static IRubyObject AssignmentVisitor.multiAssign(Ruby runtime, ThreadContext context, IRubyObject self, MultipleAsgnNode node, RubyArray value, boolean callAsProc)
           
static RubyArray EvaluationState.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 Generator.createGenerator(Ruby runtime)
           
static void Readline.createReadline(Ruby runtime)
           
 void Generator.Service.load(Ruby runtime)
           
 void Readline.Service.load(Ruby runtime)
           
 

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)
           
 

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)
           
 

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.javasupport
 

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

Methods in org.jruby.javasupport with parameters of type Ruby
static IRubyObject[] JavaUtil.convertJavaArrayToRuby(Ruby runtime, java.lang.Object[] objects)
           
static IRubyObject JavaUtil.convertJavaToRuby(Ruby runtime, java.lang.Object object)
           
static IRubyObject JavaUtil.convertJavaToRuby(Ruby runtime, java.lang.Object object, java.lang.Class javaClass)
           
static JavaMethod JavaMethod.create(Ruby runtime, java.lang.Class javaClass, java.lang.String methodName, java.lang.Class[] argumentTypes)
           
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.forName(Ruby runtime, java.lang.String className)
           
static JavaClass JavaClass.get(Ruby runtime, java.lang.Class klass)
           
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)
           
static void JavaAccessibleObject.registerRubyMethods(Ruby runtime, RubyClass result)
           
protected static void JavaObject.registerRubyMethods(Ruby runtime, RubyClass result)
           
static void JavaCallable.registerRubyMethods(Ruby runtime, RubyClass result, java.lang.Class klass)
           
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 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 CompilerHelpers.fetchClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String name)
           
static IRubyObject CompilerHelpers.nullToNil(IRubyObject value, Ruby runtime)
           
static RubyClass CompilerHelpers.prepareSuperClass(Ruby runtime, IRubyObject rubyClass)
           
static void CompilerHelpers.raiseArgumentError(Ruby runtime, int given, int maximum)
           
static Pattern CompilerHelpers.regexpLiteral(Ruby runtime, java.lang.String ptr, int options)
           
static IRubyObject CompilerHelpers.setClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, java.lang.String name, IRubyObject value)
           
 

Uses of Ruby in org.jruby.libraries
 

Methods in org.jruby.libraries with parameters of type Ruby
 void BigDecimalLibrary.load(Ruby runtime)
           
 void DigestLibrary.load(Ruby runtime)
           
 void DigestLibrary.MD5.load(Ruby runtime)
           
 void DigestLibrary.RMD160.load(Ruby runtime)
           
 void DigestLibrary.SHA1.load(Ruby runtime)
           
 void DigestLibrary.SHA2.load(Ruby runtime)
           
 void EnumeratorLibrary.load(Ruby runtime)
           
 void IConvLibrary.load(Ruby runtime)
           
 void IOWaitLibrary.load(Ruby runtime)
           
 void JRubyLibrary.load(Ruby runtime)
           
 void NKFLibrary.load(Ruby runtime)
           
 void RbConfigLibrary.load(Ruby runtime)
          Just enough configuration settings (most don't make sense in Java) to run the rubytests unit tests.
 void StringIOLibrary.load(Ruby runtime)
           
 void StringScannerLibrary.load(Ruby runtime)
           
 void ThreadLibrary.load(Ruby runtime)
           
 void YamlLibrary.load(Ruby runtime)
           
 void ZlibLibrary.load(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
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 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
CacheMap(Ruby runtime)
           
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
 

Constructors in org.jruby.runtime.callback with parameters of type Ruby
DumpingInvocationCallbackFactory(Ruby runtime, java.lang.Class type, java.lang.String path)
           
InvocationCallbackFactory(Ruby runtime, java.lang.Class type, JRubyClassLoader 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)
           
 void ExternalScript.load(Ruby runtime)
           
 void JarredScript.load(Ruby runtime)
           
 void Library.load(Ruby runtime)
           
 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()
           
 

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
           
 

Methods in org.jruby.test that return Ruby
 Ruby MockRubyObject.getRuntime()
           
 

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)
           
 

Uses of Ruby in org.jruby.util
 

Methods in org.jruby.util that return Ruby
protected  Ruby IOHandler.getRuntime()
           
 

Methods in org.jruby.util with parameters of type Ruby
static int IOModes.convertModesStringToModesInt(Ruby runtime, java.lang.String modesString)
           
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)
           
 IRubyObject KCode.kcode(Ruby runtime)
           
 void BuiltinScript.load(Ruby runtime)
           
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 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.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 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
IOHandler(Ruby runtime)
           
IOHandlerJavaIO(Ruby runtime)
           
IOHandlerNio(Ruby runtime, java.nio.channels.Channel channel)
           
IOHandlerNull(Ruby runtime, IOModes modes)
           
IOHandlerProcess(Ruby runtime, java.lang.Process process, IOModes modes)
           
IOHandlerSeekable(Ruby runtime, java.lang.String path, IOModes modes)
           
IOHandlerSocket(Ruby runtime, java.io.InputStream inStream, java.io.OutputStream outStream)
           
IOHandlerUnseekable(Ruby runtime, java.io.InputStream inStream, java.io.OutputStream outStream)
           
IOHandlerUnseekable(Ruby runtime, int fileno)
           
IOHandlerUnseekable(Ruby runtime, int fileno, java.lang.String mode)
           
IOModes(Ruby runtime)
           
IOModes(Ruby runtime, long modes)
           
IOModes(Ruby runtime, java.lang.String modesString)
           
ShellLauncher(Ruby runtime)
          Creates a new instance of ShellLauncher
 



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