|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
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. |
static Ruby |
Ruby.newInstance(RubyInstanceConfig config)
Returns a default instance of the JRuby runtime configured as provided. |
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. |
Ruby |
RubyBoolean.getRuntime()
|
Ruby |
RubyClass.getRuntime()
|
Ruby |
RubyNil.getRuntime()
|
Ruby |
RubyObject.getRuntime()
Getter for property ruby. |
Ruby |
RubyUndef.getRuntime()
|
Methods in org.jruby with parameters of type Ruby | |
static RubyClass |
NativeException.createClass(Ruby runtime,
RubyClass baseClass)
|
static RubyClass |
RubyArray.createArrayClass(Ruby runtime)
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
long len)
rb_ary_new2 |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime,
long len)
|
static RubyArray |
RubyArray.newArray(Ruby runtime)
rb_ary_new |
static RubyArray |
RubyArray.newArrayLight(Ruby runtime)
rb_ary_new |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject obj)
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject car,
IRubyObject cdr)
rb_assoc_new |
static RubyArray |
RubyArray.newArray(Ruby runtime,
IRubyObject[] args)
rb_ary_new4, rb_ary_new3 |
static RubyArray |
RubyArray.newArrayNoCopy(Ruby runtime,
IRubyObject[] args)
|
static RubyArray |
RubyArray.newArrayNoCopyLight(Ruby runtime,
IRubyObject[] args)
|
static RubyArray |
RubyArray.newArray(Ruby runtime,
java.util.Collection collection)
|
static RubyClass |
RubyBigDecimal.createBigDecimal(Ruby runtime)
|
static RubyClass |
RubyBignum.createBignumClass(Ruby runtime)
|
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
long value)
|
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
double value)
|
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.math.BigInteger value)
|
static RubyBignum |
RubyBignum.newBignum(Ruby runtime,
java.lang.String value)
|
static RubyInteger |
RubyBignum.bignorm(Ruby runtime,
java.math.BigInteger bi)
rb_big_norm |
static RubyClass |
RubyBinding.createBindingClass(Ruby runtime)
|
static RubyBinding |
RubyBinding.newBinding(Ruby runtime,
Block block)
|
static RubyBinding |
RubyBinding.newBinding(Ruby runtime)
|
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 RubyClass |
RubyBoolean.createFalseClass(Ruby runtime)
|
static RubyClass |
RubyBoolean.createTrueClass(Ruby runtime)
|
static RubyBoolean |
RubyBoolean.newBoolean(Ruby runtime,
boolean value)
|
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 |
RubyClass.newClassClass(Ruby runtime,
RubyClass moduleClass)
|
static RubyClass |
RubyClass.newClass(Ruby runtime,
RubyClass superClass,
SinglyLinkedList parentCRef,
java.lang.String name)
|
static RubyClass |
RubyClass.cloneClass(Ruby runtime,
RubyClass metaClass,
RubyClass superClass,
ObjectAllocator allocator,
SinglyLinkedList parentCRef,
java.lang.String name)
|
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)
|
protected static JRubyFile |
RubyDir.getDir(Ruby runtime,
java.lang.String path,
boolean mustExist)
Returns a Java File object for the specified path. |
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. |
static RubyModule |
RubyEnumerable.createEnumerableModule(Ruby runtime)
|
static IRubyObject |
RubyEnumerable.callEach(Ruby runtime,
ThreadContext context,
IRubyObject self,
BlockCallback callback)
|
static void |
RubyEnumerator.defineEnumerator(Ruby runtime)
|
static RubyClass |
RubyException.createExceptionClass(Ruby runtime)
|
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg)
|
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 RubyFixnum |
RubyFixnum.newFixnum(Ruby runtime,
long value)
|
static RubyFixnum |
RubyFixnum.zero(Ruby runtime)
|
static RubyFixnum |
RubyFixnum.one(Ruby runtime)
|
static RubyFixnum |
RubyFixnum.minus_one(Ruby runtime)
|
static RubyClass |
RubyFloat.createFloatClass(Ruby runtime)
|
static RubyFloat |
RubyFloat.newFloat(Ruby runtime,
double value)
|
static RubyModule |
RubyGC.createGCModule(Ruby runtime)
|
static void |
RubyGlobal.createGlobals(Ruby runtime)
|
static RubyClass |
RubyHash.createHashClass(Ruby runtime)
|
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 RubyClass |
RubyIO.createIOClass(Ruby runtime)
|
static IRubyObject |
RubyIO.fdOpen(Ruby runtime,
int descriptor)
Open a file descriptor, unless it is already open, then return it. |
static IRubyObject |
RubyIO.select_static(Ruby runtime,
IRubyObject[] args)
|
static void |
RubyIconv.createIconv(Ruby runtime)
|
static RubyIconv.RubyFailure |
RubyIconv.RubyFailure.newInstance(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg)
|
LoadService |
RubyInstanceConfig.createLoadService(Ruby runtime)
|
LoadService |
RubyInstanceConfig.LoadServiceCreator.create(Ruby runtime)
|
static RubyClass |
RubyInteger.createIntegerClass(Ruby runtime)
|
static RubyModule |
RubyJRuby.createJRuby(Ruby runtime)
|
static RubyModule |
RubyKernel.createKernelModule(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 RubyModule |
RubyModule.newModule(Ruby runtime,
java.lang.String name)
|
static RubyModule |
RubyModule.newModule(Ruby runtime,
RubyClass type,
java.lang.String name)
|
static RubyModule |
RubyModule.newModule(Ruby runtime,
java.lang.String name,
SinglyLinkedList parentCRef)
|
static RubyModule |
RubyModule.newModule(Ruby runtime,
RubyClass type,
java.lang.String name,
SinglyLinkedList parentCRef)
|
static void |
RubyNKF.createNKF(Ruby runtime)
|
static RubyClass |
RubyNameError.createNameErrorClass(Ruby runtime,
RubyClass standardErrorClass)
|
static RubyClass |
RubyNil.createNilClass(Ruby runtime)
|
static RubyClass |
RubyNoMethodError.createNoMethodErrorClass(Ruby runtime,
RubyClass nameErrorClass)
|
static RubyClass |
RubyNumeric.createNumericClass(Ruby runtime)
|
static RubyNumeric |
RubyNumeric.newNumeric(Ruby runtime)
|
static IRubyObject |
RubyNumeric.dbl2num(Ruby runtime,
double val)
rb_dbl2big + LONG2FIX at once (numeric.c) |
static IRubyObject |
RubyNumeric.dbl_cmp(Ruby runtime,
double a,
double b)
rb_dbl_cmp (numeric.c) |
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base)
|
static RubyNumeric |
RubyNumeric.int2fix(Ruby runtime,
long val)
|
static RubyInteger |
RubyNumeric.str2inum(Ruby runtime,
RubyString str,
int base,
boolean strict)
Converts a string representation of an integer to the integer value. |
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 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 RubyProc |
RubyProc.newProc(Ruby runtime,
boolean isLambda)
|
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
boolean isLambda)
|
static RubyModule |
RubyProcess.createProcessModule(Ruby runtime)
|
static RubyProcess.RubyStatus |
RubyProcess.RubyStatus.newProcessStatus(Ruby runtime,
long status)
|
static RubyClass |
RubyRange.createRangeClass(Ruby runtime)
|
static RubyRange |
RubyRange.newRange(Ruby runtime,
IRubyObject begin,
IRubyObject end,
boolean isExclusive)
|
static RubyClass |
RubyRegexp.createRegexpClass(Ruby runtime)
|
static RubyRegexp |
RubyRegexp.newRegexp(Ruby runtime,
java.lang.String source,
Pattern pattern,
int flags,
java.lang.String lang)
|
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,
ByteList str,
int options,
java.lang.String kcode)
|
static void |
RubySignal.createSignal(Ruby runtime)
|
static RubyClass |
RubyString.createStringClass(Ruby runtime)
|
static RubyString |
RubyString.newString(Ruby runtime,
java.lang.CharSequence str)
rb_str_new2 |
static RubyString |
RubyString.newUnicodeString(Ruby runtime,
java.lang.String str)
|
static RubyString |
RubyString.newString(Ruby runtime,
RubyClass clazz,
java.lang.CharSequence str)
|
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes)
|
static RubyString |
RubyString.newString(Ruby runtime,
ByteList bytes)
|
static RubyString |
RubyString.newStringShared(Ruby runtime,
RubyString orig)
|
static RubyString |
RubyString.newStringShared(Ruby runtime,
ByteList bytes)
|
static RubyString |
RubyString.newString(Ruby runtime,
byte[] bytes,
int start,
int length)
|
static RubyClass |
RubyStringIO.createStringIOClass(Ruby runtime)
|
static RubyClass |
RubyStringScanner.createScannerClass(Ruby runtime)
|
static RubyClass |
RubyStruct.createStructClass(Ruby runtime)
|
static RubyClass |
RubySymbol.createSymbolClass(Ruby runtime)
|
static java.lang.String |
RubySymbol.getSymbol(Ruby runtime,
long id)
|
static RubySymbol |
RubySymbol.newSymbol(Ruby runtime,
java.lang.String name)
|
static RubyClass |
RubyThread.createThreadClass(Ruby runtime)
|
static RubyClass |
RubyThreadGroup.createThreadGroupClass(Ruby runtime)
|
static java.util.TimeZone |
RubyTime.getLocalTimeZone(Ruby runtime)
|
static RubyClass |
RubyTime.createTimeClass(Ruby runtime)
|
static RubyTime |
RubyTime.newTime(Ruby runtime,
long milliseconds)
|
static RubyTime |
RubyTime.newTime(Ruby runtime,
java.util.Calendar cal)
|
static RubyClass |
RubyUnboundMethod.defineUnboundMethodClass(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 |
TopSelfFactory.createTopSelf(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,
RubyClass klass)
|
|
RubyBigDecimal(Ruby runtime,
java.math.BigDecimal value)
|
|
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.SlicedBlockCallback(Ruby runtime,
Block clientBlock,
long sliceSize)
|
|
RubyEnumerator.ConsecutiveBlockCallback(Ruby runtime,
Block clientBlock,
long contSize)
|
|
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.StringGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value)
|
|
RubyGlobal.KCodeGlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value)
|
|
RubyHash(Ruby runtime,
RubyClass klass)
|
|
RubyHash(Ruby runtime)
|
|
RubyHash(Ruby runtime,
IRubyObject defaultValue)
|
|
RubyHash(Ruby runtime,
java.util.Map valueMap,
IRubyObject defaultValue)
|
|
RubyIO(Ruby runtime,
RubyClass type)
|
|
RubyIO(Ruby runtime,
java.io.OutputStream outputStream)
|
|
RubyIO(Ruby runtime,
java.io.InputStream inputStream)
|
|
RubyIO(Ruby runtime,
java.nio.channels.Channel channel)
|
|
RubyIO(Ruby runtime,
java.lang.Process process)
|
|
RubyIO(Ruby runtime,
int descriptor)
|
|
RubyIconv(Ruby runtime,
RubyClass type)
|
|
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass)
|
|
RubyIconv.RubyFailure(Ruby runtime,
RubyClass rubyClass,
java.lang.String message)
|
|
RubyInteger(Ruby runtime,
RubyClass rubyClass)
|
|
RubyLocalJumpError(Ruby runtime,
RubyClass exceptionClass,
java.lang.String message,
java.lang.String reason,
IRubyObject exitValue)
|
|
RubyMatchData(Ruby runtime,
Matcher matcher)
|
|
RubyMatchData.JavaString(Ruby runtime,
java.lang.String original,
Matcher matcher)
|
|
RubyMatchData.RString(Ruby runtime,
RubyString original,
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. |
|
RubyTime(Ruby runtime,
RubyClass rubyClass)
|
|
RubyTime(Ruby runtime,
RubyClass rubyClass,
java.util.Calendar cal)
|
|
RubyUnboundMethod(Ruby runtime)
|
|
RubyZlib.ZStream(Ruby runtime,
RubyClass type)
|
|
RubyZlib.Inflate(Ruby runtime,
RubyClass type)
|
|
RubyZlib.Deflate(Ruby runtime,
RubyClass type)
|
|
RubyZlib.RubyGzipFile(Ruby runtime,
RubyClass type)
|
|
RubyZlib.RubyGzipReader(Ruby runtime,
RubyClass type)
|
|
RubyZlib.RubyGzipWriter(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.getSimpleTest(Ruby runtime)
|
static YARVMachine.Instruction[] |
YARVMachineTest.getFib(Ruby runtime,
int n)
|
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 |
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. |
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 |
Uses of Ruby in org.jruby.evaluator |
Methods in org.jruby.evaluator with parameters of type Ruby | |
static IRubyObject |
AssignmentVisitor.assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
Node node,
IRubyObject value,
Block block,
boolean check)
|
static IRubyObject |
AssignmentVisitor.multiAssign(Ruby runtime,
ThreadContext context,
IRubyObject self,
MultipleAsgnNode node,
RubyArray value,
boolean callAsProc)
|
static IRubyObject |
EvaluationState.eval(Ruby runtime,
ThreadContext context,
Node node,
IRubyObject self,
Block block)
|
static RubyArray |
EvaluationState.arrayValue(Ruby runtime,
IRubyObject value)
|
static IRubyObject |
EvaluationState.aValueSplat(Ruby runtime,
IRubyObject value)
|
static Block |
EvaluationState.getBlock(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block currentBlock,
Node blockNode)
|
static RubyModule |
EvaluationState.getClassVariableBase(ThreadContext context,
Ruby runtime)
|
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)
|
void |
Generator.Service.load(Ruby runtime)
|
static void |
Readline.createReadline(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 RubyModule |
Java.createJavaModule(Ruby runtime)
|
static void |
JavaAccessibleObject.registerRubyMethods(Ruby runtime,
RubyClass result)
|
static RubyClass |
JavaArray.createJavaArrayClass(Ruby runtime,
RubyModule javaModule)
|
static RubyModule |
JavaArrayUtilities.createJavaArrayUtilitiesModule(Ruby runtime)
|
static void |
JavaCallable.registerRubyMethods(Ruby runtime,
RubyClass result,
java.lang.Class klass)
|
static JavaClass |
JavaClass.get(Ruby runtime,
java.lang.Class klass)
|
static RubyClass |
JavaClass.createJavaClassClass(Ruby runtime,
RubyModule javaModule)
|
static JavaClass |
JavaClass.forName(Ruby runtime,
java.lang.String className)
|
static RubyClass |
JavaConstructor.createJavaConstructorClass(Ruby runtime,
RubyModule javaModule)
|
static void |
JavaEmbedUtils.terminate(Ruby runtime)
Dispose of the runtime you initialized. |
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 java.lang.Object |
JavaEmbedUtils.rubyToJava(Ruby runtime,
IRubyObject value,
java.lang.Class type)
Convert a Ruby object to a Java object. |
static IRubyObject |
JavaEmbedUtils.javaToRuby(Ruby runtime,
java.lang.Object value)
Convert a java object to a Ruby object. |
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,
short value)
|
static RubyClass |
JavaField.createJavaFieldClass(Ruby runtime,
RubyModule javaModule)
|
static RubyClass |
JavaMethod.createJavaMethodClass(Ruby runtime,
RubyModule javaModule)
|
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.reflect.Method method)
|
static JavaMethod |
JavaMethod.create(Ruby runtime,
java.lang.Class javaClass,
java.lang.String methodName,
java.lang.Class[] argumentTypes)
|
static JavaMethod |
JavaMethod.createDeclared(Ruby runtime,
java.lang.Class javaClass,
java.lang.String methodName,
java.lang.Class[] argumentTypes)
|
static JavaObject |
JavaObject.wrap(Ruby runtime,
java.lang.Object value)
|
static RubyClass |
JavaObject.createJavaObjectClass(Ruby runtime,
RubyModule javaModule)
|
protected static void |
JavaObject.registerRubyMethods(Ruby runtime,
RubyClass result)
|
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)
|
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,
RubyClass rubyClass,
java.lang.Object value)
|
|
JavaObject(Ruby runtime,
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 JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces,
java.util.Set names)
|
static JavaProxyClass |
JavaProxyClass.getProxyClass(Ruby runtime,
java.lang.Class superClass,
java.lang.Class[] interfaces)
|
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)
|
static RubyClass |
JavaProxyClass.createJavaProxyClassClass(Ruby runtime,
RubyModule javaModule)
|
static void |
JavaProxyClass.createJavaProxyModule(Ruby runtime)
|
static RubyClass |
JavaProxyClass.ProxyMethodImpl.createJavaProxyMethodClass(Ruby runtime,
RubyModule javaProxyModule)
|
static RubyClass |
JavaProxyConstructor.createJavaProxyConstructorClass(Ruby runtime,
RubyModule javaProxyModule)
|
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 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)
|
static void |
CompilerHelpers.raiseArgumentError(Ruby runtime,
int given,
int maximum)
|
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)
|
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)
|
void |
YamlLibrary.load(Ruby runtime)
|
void |
ZlibLibrary.load(Ruby runtime)
|
Constructors in org.jruby.libraries with parameters of type Ruby | |
ThreadLibrary.Mutex(Ruby runtime,
RubyClass type)
|
|
ThreadLibrary.ConditionVariable(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 | |
void |
Arity.checkArity(Ruby runtime,
IRubyObject[] args)
|
static int |
Arity.checkArgumentCount(Ruby runtime,
IRubyObject[] args,
int min,
int max)
|
static IRubyObject[] |
Arity.scanArgs(Ruby runtime,
IRubyObject[] args,
int required,
int optional)
|
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type)
|
static CallbackFactory |
CallbackFactory.createFactory(Ruby runtime,
java.lang.Class type,
java.lang.ClassLoader classLoader)
|
IRubyObject |
ObjectAllocator.allocate(Ruby runtime,
RubyClass klazz)
|
void |
ObjectMarshal.marshalTo(Ruby runtime,
java.lang.Object obj,
RubyClass type,
MarshalStream marshalStream)
|
java.lang.Object |
ObjectMarshal.unmarshalFrom(Ruby runtime,
RubyClass type,
UnmarshalStream unmarshalStream)
|
static ThreadContext |
ThreadContext.newContext(Ruby runtime)
|
static IRubyObject |
ThreadContext.createBacktraceFromFrames(Ruby runtime,
Frame[] backtraceFrames)
Create an Array with backtrace information. |
Constructors in org.jruby.runtime with parameters of type Ruby | |
CacheMap(Ruby runtime)
|
|
GlobalVariable(Ruby runtime,
java.lang.String name,
IRubyObject value)
|
|
GlobalVariable.Copy(Ruby runtime,
java.lang.String name,
GlobalVariable other)
|
|
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)
|
IRubyObject |
IAutoloadMethod.load(Ruby runtime,
java.lang.String name)
|
void |
JarredScript.load(Ruby runtime)
|
void |
Library.load(Ruby runtime)
|
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 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
void |
BuiltinScript.load(Ruby runtime)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static int |
IOModes.convertModesStringToModesInt(Ruby runtime,
java.lang.String modesString)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static KCode |
KCode.create(Ruby runtime,
java.lang.String lang)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
IRubyObject |
KCode.kcode(Ruby runtime)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
static RubyString |
Pack.pack(Ruby runtime,
RubyArray list,
ByteList formatString)
pack_pack Template characters for Array#pack Directive Meaning
Copyright © 2002-2007 JRuby Team. All Rights Reserved. |