Uses of Class
org.jruby.Ruby
Packages that use Ruby
Package
Description
The profile package contains the api to implement an profiler for jruby.
This package contains the implementation of
ProfilingService and all related
classes will be used for all profiling methods which are shipped with jruby.-
Uses of Ruby in org.jruby
Modifier and TypeMethodDescriptionfinal RubyRubyClass.getClassRuntime()static RubyRuby.getGlobalRuntime()Get the global runtime.static RubyBasicObjectStub.getRuntime(IRubyObject self) final RubyRubyBasicObject.getRuntime()Will return the runtime that this object is associated with.static RubyRuby.getThreadLocalRuntime()Get the thread-local runtime for the current thread, or null if unset.static RubyRuby.newInstance()Returns a new instance of the JRuby runtime configured with defaults.static RubyRuby.newInstance(InputStream in, PrintStream out, 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 RubyRuby.newInstance(RubyInstanceConfig config) Returns a new instance of the JRuby runtime configured as specified.Modifier and TypeMethodDescriptionprotected voidRubyModule.addMethodSymbols(Ruby runtime, Set<String> seen, RubyArray ary, boolean not, Visibility visibility) Deprecated.voidRuby.ObjectSpacer.addToObjectSpace(Ruby runtime, boolean useObjectSpace, IRubyObject object) static RubyThreadRubyThread.adopt(Ruby runtime, ThreadService service, Thread thread) booleanRubyModule.autoloadingValue(Ruby runtime, String name) Deprecated.static intRubyMatchData.backrefNumber(Ruby runtime, org.joni.Regex pattern, org.joni.Region regs, IRubyObject obj) Deprecated.final intRubyMatchData.backrefNumber(Ruby runtime, IRubyObject obj) Deprecated.static longRubyBignum.big2ulong(Ruby runtime, BigInteger big) static RubyIntegerRubyBignum.bignorm(Ruby runtime, BigInteger bi) rb_big_normstatic org.jcodings.EncodingRubyString.checkEncoding(Ruby runtime, ByteList str1, ByteList str2) static intcheck_intprotected static final voidRubyArray.checkLength(Ruby runtime, long length) Deprecated.static ChannelFDRubyIO.cloexecOpen(Ruby runtime, RubyIO.Sysopen data) RubyModule.constantsCommon(Ruby runtime, boolean replaceModule, boolean allConstants) rb_mod_constantsRubyModule.constantsCommon(Ruby runtime, boolean replaceModule, boolean allConstants, boolean includePrivate) static RubyClassRubyClass.createBootstrapClass(Ruby runtime, String name, RubyClass superClass, ObjectAllocator allocator) boot_defclass Create an initial Object meta class before Module and Kernel dependencies have squirreled themselves together.static voidRubyGlobal.createGlobals(Ruby runtime) Deprecated.RubyInstanceConfig.createLoadService(Ruby runtime) static IRubyObjectTopSelfFactory.createTopSelf(Ruby runtime) Deprecated.static IRubyObjectrb_dbl_cmp (numeric.c)static RubyIntegerDeprecated.static IRubyObjectDeprecated.UseConvert.asFloat(ThreadContext, long)instead.voidRubyModule.deprecateConstant(Ruby runtime, String name) Deprecated.static IRubyObjectRubyFileTest.directory_p(Ruby ruby, IRubyObject filename) Deprecated.final RubyStringRubyString.dupAsChilled(Ruby runtime, RubyClass clazz, String file, int line) RubyString.dupAsFString(Ruby runtime) RubyString.FString.dupAsFString(Ruby runtime) protected RubyArraystatic IRubyObjectDeprecated.static IRubyObjectRubyProcess.egid_set(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectstatic IRubyObjectRubyProcess.GroupID.eid(Ruby runtime, IRubyObject arg) static IRubyObjectRubyProcess.UserID.eid(Ruby runtime, IRubyObject arg) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject arg) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject[] args) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method, IRubyObject arg) static IRubyObjectRubyEnumerator.enumeratorize(Ruby runtime, IRubyObject object, String method, IRubyObject... args) static IRubyObjectDeprecated.static IRubyObjectRubyProcess.euid_set(Ruby runtime, IRubyObject arg) Deprecated.static voidRubyIO.failIfDirectory(Ruby runtime, RubyString pathStr) final voidRubyHash.fastASet(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final voidRubyHash.fastASetCheckString(Ruby runtime, IRubyObject key, IRubyObject value) final voidRubyHash.fastASetSmall(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final voidRubyHash.fastASetSmallCheckString(Ruby runtime, IRubyObject key, IRubyObject value) static voidRubyClass.finishClassClass(Ruby runtime, RubyClass Class) static RubyFixnumstatic booleanstatic RubyFixnumstatic RubyArgsFile.ArgsFileDataRubyArgsFile.ArgsFileData.getArgsFileData(Ruby runtime) protected static List<RubyString> RubyDir.getContents(FileResource directory, Ruby runtime) Deprecated.no longer usedprotected static FileResourceReturns a JavaFileobject for the specified path.protected static JRubyFileRubyDir.getDirForRmdir(Ruby runtime, String path) Similar to getDir, but performs different checks to match rmdir behavior.static StringRubyTime.getEnvTimeZone(Ruby runtime) Deprecated.RubyDir.getHomeFromEnv(Ruby runtime) static ModeFlagsRubyIO.getIOModes(Ruby runtime, String modesString) Deprecated.static intRubyIO.getIOModesIntFromString(Ruby runtime, String modesString) Deprecated.Deprecated.Deprecated.static org.joda.time.DateTimeZoneRubyTime.getLocalTimeZone(Ruby runtime) Deprecated.RubyMatchData.getNamedBackrefValues(Ruby runtime) Deprecated.static IRubyObjectRubyProcess.getpgid(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectDeprecated.static IRubyObjectRubyProcess.getpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static org.joni.RegexRubyRegexp.getRegexpFromCache(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options) static IRubyObjectRubyProcess.getrlimit(Ruby runtime, IRubyObject arg) Deprecated.static StringRubyTime.getRubyTimeZoneName(Ruby runtime, org.joda.time.DateTime dt) Deprecated.static RubySymbolRubySymbol.getSymbolLong(Ruby runtime, long id) static org.joda.time.DateTimeZoneRubyTime.getTimeZone(Ruby runtime, long seconds) Deprecated.static org.joda.time.DateTimeZoneRubyTime.getTimeZoneFromString(Ruby runtime, String zone) Deprecated.static org.joda.time.DateTimeZoneRubyTime.getTimeZoneFromTZString(Ruby runtime, String zone) Deprecated.static org.joda.time.DateTimeZoneRubyTime.getTimeZoneWithOffset(Ruby runtime, String zoneName, int offset) Deprecated.static IRubyObjectDeprecated.static IRubyObjectRubyProcess.gid_set(Ruby runtime, IRubyObject arg) Deprecated.static voidstatic voidRubyGlobal.initSTDIO(Ruby runtime, GlobalVariables globals) Deprecated.static RubyStringDeprecated.static RubyNumericDeprecated.UseConvert.asFixnum(ThreadContext, long)instead.static RaiseExceptionRubyTime.invalidUTCOffset(Ruby runtime) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)insteadstatic RaiseExceptionRubyTime.invalidUTCOffset(Ruby runtime, IRubyObject value) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)insteadbooleanDeprecated.static IRubyObjectRubyProcess.kill(Ruby runtime, IRubyObject[] args) Deprecated.voidDeprecated.RubyBasicObject.makeMetaClassBootstrap(Ruby runtime, RubyClass superClass, RubyClass Class) This will create a new metaclass.final RubyStringRubyString.makeShared(Ruby runtime, int index, int len) final RubyStringRubyString.makeShared(Ruby runtime, RubyClass meta, int index, int len) final RubyStringRubyString.makeSharedString(Ruby runtime, int index, int len) static intRubyRegexp.matcherMatch(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.static intRubyRegexp.matcherSearch(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.static RubyFixnumstatic RubyFloatRubyKernel.new_float(Ruby runtime, IRubyObject object) Deprecated.static RubyProcess.RubyStatusRubyProcess.newAllocatedProcessStatus(Ruby runtime, RubyClass metaClass) static RubyStringRubyString.newAllocatedString(Ruby runtime, RubyClass metaClass) static final RubyArray<?> Deprecated.static final RubyArray<?> static final RubyArrayDeprecated.UseCreate.allocArray(ThreadContext, int)insteadstatic RubyArray<?> RubyArray.newArray(Ruby runtime, Collection<? extends IRubyObject> collection) static RubyArray<?> RubyArray.newArray(Ruby runtime, List<? extends IRubyObject> list) static RubyArray<?> RubyArray.newArray(Ruby runtime, IRubyObject obj) static RubyArray<?> RubyArray.newArray(Ruby runtime, IRubyObject[] args) rb_ary_new4, rb_ary_new3static RubyArray<?> RubyArray.newArray(Ruby runtime, IRubyObject car, IRubyObject cdr) rb_assoc_newstatic RubyArray<?> RubyArray.newArray(Ruby runtime, IRubyObject first, IRubyObject second, IRubyObject third) static RubyArray<?> RubyArray.newArray(Ruby runtime, IRubyObject first, IRubyObject second, IRubyObject third, IRubyObject fourth) static final RubyArray<?> RubyArray.newArrayLight(Ruby runtime) rb_ary_newstatic final RubyArray<?> RubyArray.newArrayLight(Ruby runtime, int len) static final RubyArray<?> RubyArray.newArrayLight(Ruby runtime, long len) Deprecated.static RubyArray<?> RubyArray.newArrayLight(Ruby runtime, IRubyObject obj) static RubyArray<?> RubyArray.newArrayLight(Ruby runtime, IRubyObject... objs) static RubyArray<?> RubyArray.newArrayLight(Ruby runtime, IRubyObject car, IRubyObject cdr) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject... args) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject[] args, int start) static RubyArrayRubyArray.newArrayMayCopy(Ruby runtime, IRubyObject[] args, int start, int length) Construct a new RubyArray given the specified range of elements in the source array.static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject... args) static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin) static RubyArrayRubyArray.newArrayNoCopy(Ruby runtime, IRubyObject[] args, int begin, int length) static RubyArrayRubyArray.newArrayNoCopyLight(Ruby runtime, IRubyObject[] args) static RubyIntegerRubyBignum.newBignorm(Ruby runtime, double value) Return a Bignum or Fixnum (Integer) for the given value, or raise FloatDomainError if it is out of range.static RubyBignumReturn a Bignum for the given value, or raise FloatDomainError if it is out of range.static RubyBignumstatic RubyBignumstatic RubyBignumRubyBignum.newBignum(Ruby runtime, BigInteger value) static RubyStringRubyString.newBinaryString(Ruby runtime, String str) static RubyStringRubyString.newBinaryString(Ruby runtime, ByteList str) static RubyBindingRubyBinding.newBinding(Ruby runtime) Deprecated.static RubyBindingRubyBinding.newBinding(Ruby runtime, Binding binding) static RubyBindingRubyBinding.newBinding(Ruby runtime, IRubyObject self) Deprecated.static RubyArrayRubyArray.newBlankArray(Ruby runtime, int size) Deprecated.static RubyBooleanRubyBoolean.newBoolean(Ruby runtime, boolean value) Deprecated.static RubyIOBufferstatic RubyIOBufferRubyIOBuffer.newBuffer(Ruby runtime, ByteBuffer base, int size, int flags) static RubySymbolRubySymbol.newCalleeSymbolFromCompound(Ruby runtime, String compoundName) static RubyStringRubyString.newChilledString(Ruby runtime, ByteList bytes, int coderange, String file, int line) static RubyClassDeprecated.static RubyClassRubyClass.newClass(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent) Deprecated.static RubyClassRubyClass.newClass(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, String file, int line) Deprecated.static RubyClassRubyClass.newClass(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, CallSite[] extraCallSites) Deprecated.static RubyClassDeprecated.static RubyClassRubyClass.newClassBootstrap(Ruby runtime, RubyClass Object, RubyClass Class, String name) This is an internal API for bootstrapping a few classes before ThreadContext is available.static RubyComplexRubyComplex.newComplexRaw(Ruby runtime, IRubyObject x) rb_complex_raw1static RubyComplexRubyComplex.newComplexRaw(Ruby runtime, IRubyObject x, IRubyObject y) rb_complex_rawstatic RubyComplexRubyComplex.newComplexRawImage(Ruby runtime, IRubyObject image) static RubySymbolRubySymbol.newConstantSymbol(Ruby runtime, IRubyObject fqn, ByteList bytes) Deprecated.static RubyStringRubyString.newDebugChilledString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubyStringRubyString.newDebugFrozenString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubyRegexpRubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, int joniOptions) static RubyRegexpRubyRegexp.newDRegexp(Ruby runtime, RubyString pattern, RegexpOptions options) static RubyArray<?> RubyArray.newEmptyArray(Ruby runtime) static RubyArray<?> RubyArray.newEmptyArray(Ruby runtime, RubyClass klass) static RubyStringRubyString.newEmptyBinaryString(Ruby runtime) static RubyStringRubyString.newEmptyString(Ruby runtime) static RubyStringRubyString.newEmptyString(Ruby runtime, org.jcodings.Encoding enc) static RubyStringRubyString.newEmptyString(Ruby runtime, RubyClass metaClass) static RubyStringRubyString.newEmptyString(Ruby runtime, RubyClass metaClass, org.jcodings.Encoding enc) static RubyEncodingRubyEncoding.newEncoding(Ruby runtime, byte[] name, int p, int end, boolean isDummy) static RubyExceptionRubyException.newException(Ruby runtime, RubyClass exceptionClass, String msg) static RubyStringRubyString.newExternalStringWithEncoding(Ruby runtime, String string, org.jcodings.Encoding encoding) Deprecated.static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, int fileno) static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, FileDescriptor descriptor) static RubyFileStatRubyFileStat.newFileStat(Ruby runtime, String filename, boolean lstat) static RubyFixnumstatic RubyFixnumstatic RubyFloatstatic RubyStringRubyString.newFString(Ruby runtime, String content) Create anew or deduplicate a RubyString based on the given Java String content.static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, String name, org.jcodings.Encoding encoding) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, IRubyObject name) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static final RubyHashrb_hash_newstatic final RubyHashRubyHash.newHash(Ruby runtime, Map valueMap, IRubyObject defaultValue) rb_hash_newstatic RubyHashRubyHash.newHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes) Generic identifier symbol creation (or retrieval) method.static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Generic identifier symbol creation (or retrieval) method that invokes a handler before storing new symbols.static RubySystemExitRubySystemExit.newInstance(Ruby runtime, int status, String message) Deprecated.static RubyStringRubyString.newInternalFromJavaExternal(Ruby runtime, String str) Return a new Ruby String encoded as the default internal encoding given a Java String that has come from an external source.static RubyIOstatic RubyIOErrorRubyIOError.newIOError(Ruby runtime, String message) static IOOptionsRubyIO.newIOOptions(Ruby runtime, int mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, long mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, String mode) static IOOptionsRubyIO.newIOOptions(Ruby runtime, IOOptions oldFlags, int orOflags) static IOOptionsRubyIO.newIOOptions(Ruby runtime, ModeFlags modeFlags) static RubyIO.RubyIOTimeoutErrorRubyIO.RubyIOTimeoutError.newIOTimeoutError(Ruby runtime, String message) static RubyHashRubyHash.newKwargs(Ruby runtime, String key, IRubyObject value) static RubyThread.LocationRubyThread.Location.newLocation(Ruby runtime, RubyStackTraceElement elt) static RubyArrayRubyThread.Location.newLocationArray(Ruby runtime, RubyStackTraceElement[] elements) static RubyArrayRubyThread.Location.newLocationArray(Ruby runtime, RubyStackTraceElement[] elements, int offset, int length) static RubySymbolRubySymbol.newMethodSymbolFromCompound(Ruby runtime, String compoundName) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, int mode) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, long mode) static ModeFlagsRubyIO.newModeFlags(Ruby runtime, String mode) static RubyModuleDeprecated.static RubyModuleRubyModule.newModule(Ruby runtime, String name, RubyModule parent, boolean setParent) Deprecated.static RubyModuleRubyModule.newModule(Ruby runtime, String name, RubyModule parent, boolean setParent, String file, int line) Deprecated.static RubyModuleRubyModule.newModuleBootstrap(Ruby runtime, String name, RubyModule parent) static RubyNumericRubyNumeric.newNumeric(Ruby runtime) static RubyProcRubyProc.newProc(Ruby runtime, RubyClass clazz, Block block, Block.Type type, String file, int line) static RubyProcRubyProc.newProc(Ruby runtime, Block.Type type) Deprecated.static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type) static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type, String file, int line) static RubyProcRubyProc.newProc(Ruby runtime, Block block, Block.Type type, ISourcePosition sourcePosition) Deprecated.static RubyProcess.RubyStatusRubyProcess.RubyStatus.newProcessStatus(Ruby runtime, long status, long pid) static RubyRandomRubyRandom.newRandom(Ruby runtime, RubyClass randomClass, IRubyObject seed) Deprecated.static RubyRationalRubyRational.newRational(Ruby runtime, long x, long y) static RubyRationalRubyRational.newRationalRaw(Ruby runtime, IRubyObject x, IRubyObject y) rb_rational_rawstatic RubyRegexpRubyRegexp.newRegexp(Ruby runtime, String pattern, RegexpOptions options) static RubyRegexpstatic RubyRegexpstatic RubyRegexpRubyRegexp.newRegexp(Ruby runtime, ByteList pattern, RegexpOptions options) static RubyRegexpRubyRegexp.newRegexpFromStr(Ruby runtime, RubyString s, int options) static RubyRegexpRubyRegexp.newRegexpParser(Ruby runtime, ByteList pattern, RegexpOptions options) throws RaiseException on error so parser can pick this up and give proper line and line number error as opposed to any non-literal regexp creation which may raise a syntax error but will not have this extra source info in the error messagestatic final RubyHashRubyHash.newSmallHash(Ruby runtime) rb_hash_newstatic RubyStringstatic RubyStringstatic RubyStringRubyString.newString(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyStringRubyString.newString(Ruby runtime, CharSequence str) static RubyStringRubyString.newString(Ruby runtime, CharSequence str, org.jcodings.Encoding encoding) static RubyStringstatic RubyStringstatic RubyStringRubyString.newString(Ruby runtime, RubyClass clazz, CharSequence str) Deprecated.static RubyStringstatic RubyStringstatic RubyStringstatic RubyStringRubyString.newStringLight(Ruby runtime, int size) static RubyStringRubyString.newStringLight(Ruby runtime, int size, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringLight(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, byte[] bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, byte[] bytes, int start, int length) static RubyStringRubyString.newStringNoCopy(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes) Deprecated.static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, int start, int length) Deprecated.static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, byte[] bytes, org.jcodings.Encoding encoding) Deprecated.static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, RubyString orig) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, int codeRange) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, org.jcodings.Encoding encoding) static RubySymbolstatic RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, IRubyObject name) Deprecated.static RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubyTimestatic RubyTimestatic RubyTimeCreate new (Ruby) Time instance.static RubyTimeRubyTime.newTimeFromNanoseconds(Ruby runtime, long nanoseconds) Deprecated.static RubyUncaughtThrowErrorRubyUncaughtThrowError.newUncaughtThrowError(Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message) Deprecated.static RubyStringRubyString.newUnicodeString(Ruby runtime, CharSequence str) static RubyStringRubyString.newUnicodeString(Ruby runtime, String str) static RubyStringRubyString.newUSASCIIString(Ruby runtime, String str) static RubyStringRubyString.newUsAsciiStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newUsAsciiStringShared(Ruby runtime, byte[] bytes, int start, int length) static RubyStringRubyString.newUsAsciiStringShared(Ruby runtime, ByteList bytes) static RubyStringRubyString.newUTF16String(Ruby runtime, CharSequence str) static RubyStringRubyString.newUTF16String(Ruby runtime, String str) static RubyStringRubyString.newUTF8String(Ruby runtime, CharSequence str) static RubyStringRubyString.newUTF8String(Ruby runtime, String str) static RubyFixnumprotected voidRubyHash.op_asetForString(Ruby runtime, RubyString key, IRubyObject value) protected voidRubyHash.op_asetSmallForString(Ruby runtime, RubyString key, IRubyObject value) RubyProcess.RubyStatus.op_rshift(Ruby runtime, IRubyObject other) Deprecated.RubyRuntimeAdapter.parse(Ruby runtime, InputStream in, String filename, int lineNumber) static doubleRubyKernel.parseHexidecimalExponentString2(Ruby runtime, ByteList str) Deprecated.static IRubyObjectDeprecated.static IRubyObjectstatic voidRubyRegexp.preprocessCheck(Ruby runtime, ByteList bytes) static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, RubyString[] strings, int embeddedOptions) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject[] strings, RegexpOptions options) static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, IRubyObject arg1, RegexpOptions options) Deprecated.static RubyStringRubyRegexp.preprocessDRegexp(Ruby runtime, IRubyObject arg0, RegexpOptions options) Deprecated.static RubyIOstatic RubyIORubyModule.putMethod(Ruby runtime, String id, DynamicMethod method) Deprecated.static RubyBignumRubyRandom.randomSeed(Ruby runtime) static IRubyObjectDeprecated.static IRubyObjectstatic IRubyObjectstatic IRubyObjectRubyIO.select_static(ThreadContext context, Ruby runtime, IRubyObject[] args) Deprecated.final voidRubyModule.setConstantVisibility(Ruby runtime, String name, boolean hidden) Deprecated.voidRubyArgsFile.ArgsFileData.setCurrentLineNumber(Ruby runtime, int linenumber) Deprecated.static IRubyObjectRubyProcess.setpgid(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObjectDeprecated.static IRubyObjectRubyProcess.setpriority(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObjectDeprecated.static voidRuby.setThreadLocalRuntime(Ruby ruby) Set the thread-local runtime to the given runtime.static RubyStringRubyInteger.singleCharString(Ruby runtime, byte b, RubyClass meta, org.jcodings.Encoding enc) Return a single-character ByteList, possibly cached, corresponding to the given byte and encoding.protected static RubyThreadRubyThread.startWaiterThread(Ruby runtime, long pid, Block block) static RubyFloatRubyNumeric.str2fnum(Ruby runtime, RubyString arg) Same as RubyNumeric.str2fnum passing false for strict.static RubyFloatRubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict) static IRubyObjectRubyNumeric.str2fnum(Ruby runtime, RubyString arg, boolean strict, boolean exception) Converts a string representation of a floating-point number to the numeric value.static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base) Deprecated.static RubyIntegerRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict) Deprecated.static IRubyObjectRubyNumeric.str2inum(Ruby runtime, RubyString str, int base, boolean strict, boolean exception) Converts a string representation of an integer to the integer value.final RubyStringfinal RubyStringintRubyString.strHashCode(Ruby runtime) Generate a hash for the String, using its associated Ruby instance's hash seed.final IRubyObjectDeprecated.final IRubyObjectDeprecated.final IRubyObjectDeprecated.static ByteListRubySymbol.symbolBytesFromString(Ruby runtime, String internedSymbol) protected static ChannelFDstatic voidprotected final voidDeprecated.static RubyFixnumstatic IRubyObjectDeprecated.Deprecated.final org.jcodings.EncodingRubyString.toEncoding(Ruby runtime) Deprecated.static RubyFixnumstatic IRubyObjectDeprecated.static IRubyObjectRubyProcess.uid_set(Ruby runtime, IRubyObject arg) Deprecated.static StringRubyModule.undefinedMethodMessage(Ruby runtime, IRubyObject name, IRubyObject modName, boolean isModule) intRubyString.unseededStrHashCode(Ruby runtime) Generate a hash for the String, without a seed.protected StringRubyModule.validateClassVariable(Ruby runtime, IRubyObject object) Deprecated.static IRubyObjectRubyProcess.wait(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObjectDeprecated.static longDeprecated.static IRubyObjectRubyProcess.waitpid(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObjectRubyProcess.waitpid2(Ruby runtime, IRubyObject[] args) static RubyFixnumModifierConstructorDescriptionprotectedAbstractRubyMethod(Ruby runtime, RubyClass rubyClass) AbstractWeakMap(Ruby runtime, RubyClass cls) AppendBlockCallback(Ruby runtime, RubyArray result) Deprecated.ArgfGlobalVariable(Ruby runtime, String name, IRubyObject value) ArgsFileData(Ruby runtime, RubyArray argv) CaseInsensitiveStringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue, boolean updateRealENV) ChunkedBlockCallback(Ruby runtime, IRubyObject enumerator) DeprecatedStringGlobalVariable(Ruby runtime, String name, IRubyObject value) DeprecatedStringOrRegexpGlobalVariable(Ruby runtime, String name, IRubyObject value) protectedprotectedIncludedModule(Ruby runtime, RubyClass superClass, RubyModule origin) IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin) IncludedModuleWrapper(Ruby runtime, RubyClass superClass, RubyModule origin, RubyModule methodsHolder) InputGlobalVariable(Ruby runtime, String name, IRubyObject value) KCodeGlobalVariable(Ruby runtime, String name, IRubyObject value) Location(Ruby runtime, RubyClass klass, RubyStackTraceElement element) MetaClass(Ruby runtime, RubyClass superClass, IRubyObject attached) Deprecated.NativeException(Ruby runtime, RubyClass rubyClass, Throwable cause) Deprecated.OutputGlobalVariable(Ruby runtime, String name, IRubyObject value) PrependedModule(Ruby runtime, RubyClass superClass, RubyModule prependedClass) ProfilingCacheEntryFactory(Ruby runtime, RubyModule.CacheEntryFactory previous) PutKeyValueCallback(Ruby runtime, RubyHash result) Deprecated.PutKeyValueCallback(Ruby runtime, RubyHash result, Block block) Deprecated.RubyArgsFile(Ruby runtime, RubyClass metaClass) protectedRubyArgumentError(Ruby runtime, RubyClass exceptionClass) protectedRubyArgumentError(Ruby runtime, RubyClass exceptionClass, String message) RubyArithmeticSequence(Ruby runtime, RubyClass klass) RubyArithmeticSequence(Ruby runtime, RubyClass klass, IRubyObject generatedBy, String method, IRubyObject[] args, IRubyObject begin, IRubyObject end, IRubyObject step, IRubyObject excludeEnd) protectedprotectedRubyArray(Ruby runtime, RubyClass klass, IRubyObject[] vals) RubyArray(Ruby runtime, IRubyObject[] vals, int begin, int length) RubyBasicObject(Ruby runtime, RubyClass metaClass) Standard path for object creation.protectedRubyBasicObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace) Path for objects who want to decide whether they don't want to be in ObjectSpace even when it is on.protectedRubyBasicObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.RubyBignum(Ruby runtime, BigInteger value) RubyBinding(Ruby runtime, RubyClass rubyClass, Binding binding) RubyChain(Ruby runtime, RubyClass klass, IRubyObject[] enums) protectedused by CLASS_ALLOCATOR (any Class' class will be a Class!) also used to bootstrap Object classprotectedrb_class_boot (for plain Classes) also used to bootstrap Module and Class classesprotectedseparate path for MetaClass and IncludedModuleWrapper construction (rb_class_boot version for MetaClasses) no marshal, allocator initialization and addSubclass(this) here!protectedThis is an internal API only used by Ruby constructor before ThreadContext exists.protectedA constructor which allows passing in an array of supplementary call sites.protectedRubyCompatibilityError(Ruby runtime, RubyClass exceptionClass) protectedRubyConcurrencyError(Ruby runtime, RubyClass exceptionClass) RubyContinuation(Ruby runtime) Deprecated.RubyContinuation(Ruby runtime, IRubyObject tag) Deprecated.RubyConverter(Ruby runtime) RubyConverter(Ruby runtime, RubyClass klass) protectedRubyConverterNotFoundError(Ruby runtime, RubyClass exceptionClass) protectedRubyDomainError(Ruby runtime, RubyClass exceptionClass) protectedRubyEncodingError(Ruby runtime, RubyClass exceptionClass) protectedRubyEOFError(Ruby runtime, RubyClass exceptionClass) protectedRubyException(Ruby runtime, RubyClass rubyClass) RubyException(Ruby runtime, RubyClass rubyClass, String message) protectedprotectedRubyFiberError(Ruby runtime, RubyClass exceptionClass) RubyFile(Ruby runtime, String path, InputStream in) RubyFile(Ruby runtime, String path, FileChannel channel) protectedRubyFileStat(Ruby runtime, RubyClass clazz) RubyFixnum(Ruby runtime) RubyFixnum(Ruby runtime, long value) protectedRubyFloatDomainError(Ruby runtime, RubyClass exceptionClass) protectedRubyFrozenError(Ruby runtime, RubyClass exceptionClass) RubyGenerator(Ruby runtime, RubyClass klass) RubyHash(Ruby runtime, Map valueMap, IRubyObject defaultValue) protectedRubyHash(Ruby runtime, RubyClass metaClass, IRubyObject defaultValue, RubyHash.RubyHashEntry[] initialTable, int threshold) RubyHash(Ruby runtime, IRubyObject defaultValue) RubyHash(Ruby runtime, IRubyObject defaultValue, int buckets) protectedRubyIndexError(Ruby runtime, RubyClass exceptionClass) protectedRubyIndexError(Ruby runtime, RubyClass exceptionClass, String message) RubyInteger(Ruby runtime, RubyClass rubyClass) RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace) RubyInteger(Ruby runtime, RubyClass rubyClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.protectedRubyInterrupt(Ruby runtime, RubyClass exceptionClass) protectedRubyInterruptedRegexpError(Ruby runtime, RubyClass exceptionClass) protectedRubyInvalidByteSequenceError(Ruby runtime, RubyClass exceptionClass) RubyIO(Ruby runtime, InputStream inputStream) RubyIO(Ruby runtime, OutputStream outputStream) RubyIO(Ruby runtime, OutputStream outputStream, boolean autoclose) RubyIO(Ruby runtime, RubyClass cls, ShellLauncher.POpenProcess process, RubyHash options, IOOptions ioOptions) Deprecated.Deprecated.RubyIO(Ruby runtime, ShellLauncher.POpenProcess process, IOOptions ioOptions) RubyIOBuffer(Ruby runtime, RubyClass metaClass) RubyIOBuffer(Ruby runtime, RubyClass metaClass, ByteBuffer base, int size, int flags) protectedRubyIOError(Ruby runtime, RubyClass exceptionClass) protectedRubyIOTimeoutError(Ruby runtime, RubyClass exceptionClass) protectedRubyKeyError(Ruby runtime, RubyClass exceptionClass) RubyKeyError(Ruby runtime, RubyClass exceptionClass, String message, IRubyObject recv, IRubyObject key) protectedRubyLoadError(Ruby runtime, RubyClass exceptionClass) RubyLocalJumpError(Ruby runtime, RubyClass exceptionClass, String message, RubyLocalJumpError.Reason reason, IRubyObject exitValue) RubyMatchData(Ruby runtime) RubyMatchData(Ruby runtime, RubyClass metaClass) protectedRubyMethod(Ruby runtime, RubyClass rubyClass) RubyModule(Ruby runtime) standard path for Module constructionprotectedRubyModule(Ruby runtime, RubyClass metaClass) used by MODULE_ALLOCATOR and RubyClass constructorsprotectedRubyModule(Ruby runtime, RubyClass metaClass, boolean objectSpace) separate path for MetaClass constructionprotectedRubyNameError(Ruby runtime, RubyClass exceptionClass) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message, String name) RubyNameError(Ruby runtime, RubyClass exceptionClass, String message, IRubyObject name) protectedRubyNoMatchingPatternError(Ruby runtime, RubyClass exceptionClass) protectedRubyNoMatchingPatternError(Ruby runtime, RubyClass exceptionClass, String message) protectedRubyNoMatchingPatternKeyError(Ruby runtime, RubyClass exceptionClass) protectedRubyNoMatchingPatternKeyError(Ruby runtime, RubyClass exceptionClass, String message) protectedRubyNoMemoryError(Ruby runtime, RubyClass exceptionClass) protectedRubyNoMethodError(Ruby runtime, RubyClass exceptionClass) RubyNoMethodError(Ruby runtime, RubyClass exceptionClass, String message, String name, IRubyObject args) protectedRubyNotImplementedError(Ruby runtime, RubyClass exceptionClass) RubyNumeric(Ruby runtime, RubyClass metaClass) RubyNumeric(Ruby runtime, RubyClass metaClass, boolean useObjectSpace) RubyNumeric(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.RubyObject(Ruby runtime, RubyClass metaClass) Standard path for object creation.protectedRubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace) Path for objects who want to decide whether they don't want to be in ObjectSpace even when it is on.protectedRubyObject(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type) protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type, String file, int line) protectedRubyProc(Ruby runtime, RubyClass rubyClass, Block.Type type, ISourcePosition sourcePosition) Deprecated.RubyProducer(Ruby runtime, RubyClass klass) RubyProducer(Ruby runtime, RubyClass klass, IRubyObject init, Block block) RubyRandomBase(Ruby runtime, RubyClass metaClass) protectedRubyRangeError(Ruby runtime, RubyClass exceptionClass) RubyRegexp(Ruby runtime, org.joni.Regex pattern, ByteList str, RegexpOptions options) protectedRubyRegexpError(Ruby runtime, RubyClass exceptionClass) protectedRubyRuntimeError(Ruby runtime, RubyClass exceptionClass) protectedRubyScriptError(Ruby runtime, RubyClass exceptionClass) protectedRubySecurityError(Ruby runtime, RubyClass exceptionClass) protectedRubySignalException(Ruby runtime, RubyClass exceptionClass) protectedRubyStandardError(Ruby runtime, RubyClass exceptionClass) protectedRubyStandardError(Ruby runtime, RubyClass exceptionClass, String message) RubyStatus(Ruby runtime, RubyClass metaClass, long status, long pid) protectedRubyStopIteration(Ruby runtime, RubyClass exceptionClass) RubyString(Ruby runtime, RubyClass rubyClass) RubyString(Ruby runtime, RubyClass rubyClass, byte[] value) RubyString(Ruby runtime, RubyClass rubyClass, CharSequence value) RubyString(Ruby runtime, RubyClass rubyClass, CharSequence value, org.jcodings.Encoding enc) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, boolean objectspace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding encoding, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc, int cr) protectedRubySyntaxError(Ruby runtime, RubyClass exceptionClass) protectedRubySystemCallError(Ruby runtime, RubyClass rubyClass) protectedRubySystemExit(Ruby runtime, RubyClass exceptionClass) protectedRubySystemStackError(Ruby runtime, RubyClass exceptionClass) protectedRubyThread(Ruby runtime, RubyClass type, boolean adopted) RubyThread(Ruby runtime, RubyClass klass, Runnable runnable) protectedRubyThreadError(Ruby runtime, RubyClass exceptionClass) protectedRubyTypeError(Ruby runtime, RubyClass exceptionClass) protectedRubyUnboundMethod(Ruby runtime) protectedRubyUncaughtThrowError(Ruby runtime, RubyClass exceptionClass) Deprecated.protectedRubyUndefinedConversionError(Ruby runtime, RubyClass exceptionClass) RubyYielder(Ruby runtime) RubyYielder(Ruby runtime, RubyClass klass) protectedRubyZeroDivisionError(Ruby runtime, RubyClass exceptionClass) StringGlobalVariable(Ruby runtime, String name, IRubyObject value) StringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue) StringOnlyRubyHash(Ruby runtime, Map<RubyString, RubyString> valueMap, IRubyObject defaultValue, boolean updateRealENV) StringOrRegexpGlobalVariable(Ruby runtime, String name, IRubyObject value) SymbolProcBody(Ruby runtime, String id, RubySymbol symbol) SymbolProcBody(Ruby runtime, String id, RubySymbol symbol, StaticScope scope) SymbolTable(Ruby runtime) WeakKeyMap(Ruby runtime, RubyClass cls) -
Uses of Ruby in org.jruby.api
Methods in org.jruby.api with parameters of type RubyModifier and TypeMethodDescriptionstatic org.jcodings.EncodingMRI.rb_ascii8bit_encoding(Ruby runtime) static RubyStringMRI.rb_external_str_new_with_enc(Ruby runtime, String string, org.jcodings.Encoding encoding) static RubyStringMRI.rb_external_str_new_with_enc(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static voidMRI.rb_str_buf_cat(Ruby runtime, RubyString str, ByteList ptr) static voidMRI.rb_str_buf_cat(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static voidMRI.rb_str_buf_cat(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) -
Uses of Ruby in org.jruby.ast
Methods in org.jruby.ast with parameters of type RubyModifier and TypeMethodDescriptionBignumNode.literalValue(Ruby runtime) ComplexNode.literalValue(Ruby runtime) FixnumNode.literalValue(Ruby runtime) FloatNode.literalValue(Ruby runtime) LiteralValue.literalValue(Ruby runtime) RationalNode.literalValue(Ruby runtime) StrNode.literalValue(Ruby runtime) SymbolNode.literalValue(Ruby runtime) Constructors in org.jruby.ast with parameters of type Ruby -
Uses of Ruby in org.jruby.ast.util
Methods in org.jruby.ast.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyArrayArgsUtil.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.static RubyArrayArgsUtil.convertToRubyArrayWithCoerce(Ruby runtime, IRubyObject value) static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject... args) static IRubyObjectArgsUtil.getOptionsArg(Ruby runtime, IRubyObject arg, boolean raise) -
Uses of Ruby in org.jruby.common
Methods in org.jruby.common that return RubyModifier and TypeMethodDescriptionIRubyWarnings.getRuntime()NullWarnings.getRuntime()RubyWarnings.getRuntime()Constructors in org.jruby.common with parameters of type Ruby -
Uses of Ruby in org.jruby.compiler
Constructors in org.jruby.compiler with parameters of type RubyModifierConstructorDescriptionBlockJITClassGenerator(String className, String methodName, String key, Ruby ruby, MixedModeIRBlockBody body, JVMVisitor visitor) JITClassGenerator(String className, String methodName, String key, Ruby ruby, JVMVisitor visitor) JITCompiler(Ruby runtime) MethodJITClassGenerator(String className, String methodName, String key, Ruby ruby, AbstractIRMethod method, JVMVisitor visitor) -
Uses of Ruby in org.jruby.embed
Methods in org.jruby.embed that return Ruby -
Uses of Ruby in org.jruby.embed.internal
Methods in org.jruby.embed.internal that return RubyModifier and TypeMethodDescriptionBiVariableMap.getRuntime()ConcurrentLocalContextProvider.getRuntime()LocalContextProvider.getRuntime()Returns a Ruby runtime of a specified scope.SingleThreadLocalContextProvider.getRuntime()SingletonLocalContextProvider.getRuntime()ThreadSafeLocalContextProvider.getRuntime()LocalContext.getThreadSafeRuntime()Deprecated.Methods in org.jruby.embed.internal with parameters of type RubyModifier and TypeMethodDescriptionEmbedRubyRuntimeAdapterImpl.parse(Ruby runtime, InputStream istream, String filename, int lineNumber) -
Uses of Ruby in org.jruby.embed.osgi.internal
Methods in org.jruby.embed.osgi.internal with parameters of type RubyConstructors in org.jruby.embed.osgi.internal with parameters of type RubyModifierConstructorDescriptionOSGiLoadService(Ruby runtime) Default constructor Optional constructor (why?) -
Uses of Ruby in org.jruby.embed.util
Methods in org.jruby.embed.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHashCoreConstructors.createHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) -
Uses of Ruby in org.jruby.embed.variable
Methods in org.jruby.embed.variable with parameters of type RubyModifier and TypeMethodDescriptionstatic voidVariableInterceptor.inject(BiVariableMap map, Ruby runtime, ManyVarsDynamicScope scope) Deprecated.static voidGlobalVariable.retrieveByKey(Ruby runtime, BiVariableMap vars, String key) Retrieves a global variable by key from Ruby after the evaluation.static voidLocalGlobalVariable.retrieveByKey(Ruby runtime, BiVariableMap vars, String name) Retrieves a global variable by key from Ruby runtime after the evaluation.voidBiVariable.setJavaObject(Ruby runtime, Object javaObject) Sets a Java object as a value of this object.voidGlobalVariable.setJavaObject(Ruby runtime, Object javaObject) Sets a Java object and its Ruby type as a value of this object.static voidVariableInterceptor.terminateGlobalVariables(LocalVariableBehavior behavior, Collection<BiVariable> variables, Ruby runtime) Clears global variable values from Ruby runtime to behave the same as JSR 223 reference implementation.voidGlobalVariable.tryEagerInjection(Ruby runtime, IRubyObject receiver) Deprecated. -
Uses of Ruby in org.jruby.exceptions
Methods in org.jruby.exceptions with parameters of type RubyModifier and TypeMethodDescriptionJumpException.FlowControlException.buildException(Ruby runtime) static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause) Deprecated.static RaiseExceptionRaiseException.createNativeRaiseException(Ruby runtime, Throwable cause, Member target) Deprecated.static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, String exceptionPath, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionConstruct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseExceptionRaiseException.from(Ruby runtime, RubyClass exceptionClass, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.Constructors in org.jruby.exceptions with parameters of type RubyModifierConstructorDescriptionRaiseException(Ruby runtime, RubyClass exceptionClass, String msg) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, boolean unused) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Deprecated.RaiseException(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace, boolean unused) Deprecated. -
Uses of Ruby in org.jruby.ext
Methods in org.jruby.ext with parameters of type RubyModifier and TypeMethodDescriptionstatic voidJRubyPOSIXHelper.checkErrno(Ruby runtime, int result) Helper for handling common POSIX situations where a negative return value from a function call indicates an error, and errno must be consulted to determine how exactly the function failed.voidConstructors in org.jruby.ext with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.bigdecimal
Methods in org.jruby.ext.bigdecimal with parameters of type RubyConstructors in org.jruby.ext.bigdecimal with parameters of type RubyModifierConstructorDescriptionRubyBigDecimal(Ruby runtime, BigDecimal value) RubyBigDecimal(Ruby runtime, BigDecimal value, boolean isNan) RubyBigDecimal(Ruby runtime, BigDecimal value, int infinitySign) RubyBigDecimal(Ruby runtime, BigDecimal value, int infinitySign, int zeroSign) RubyBigDecimal(Ruby runtime, RubyBigDecimal rbd) Deprecated.RubyBigDecimal(Ruby runtime, RubyClass klass) RubyBigDecimal(Ruby runtime, RubyClass klass, BigDecimal value) RubyBigDecimal(Ruby runtime, RubyClass klass, RubyBigDecimal rbd) Deprecated. -
Uses of Ruby in org.jruby.ext.coverage
Methods in org.jruby.ext.coverage with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.date
Methods in org.jruby.ext.date with parameters of type RubyModifier and TypeMethodDescriptionstatic voidvoidConstructors in org.jruby.ext.date with parameters of type RubyModifierConstructorDescriptionDeprecated.Deprecated.protectedRubyDateTime(Ruby runtime, long millis, org.joda.time.Chronology chronology) RubyDateTime(Ruby runtime, org.joda.time.DateTime dt) Deprecated.protectedRubyDateTime(Ruby runtime, RubyClass klass) RubyDateTime(Ruby runtime, RubyClass klass, org.joda.time.DateTime dt) -
Uses of Ruby in org.jruby.ext.digest
Methods in org.jruby.ext.digest with parameters of type RubyModifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidConstructors in org.jruby.ext.digest with parameters of type RubyModifierConstructorDescriptionDigestBase(Ruby runtime, RubyClass type) DigestClass(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.ext.etc
Methods in org.jruby.ext.etc with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.fcntl
Methods in org.jruby.ext.fcntl with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.ffi
Fields in org.jruby.ext.ffi declared as RubyModifier and TypeFieldDescriptionprotected final RubyArrayMemoryIO.runtimeprotected final RubyInvalidMemoryIO.runtimeMethods in org.jruby.ext.ffi with parameters of type RubyModifier and TypeMethodDescriptionabstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIOaccessor.abstract MemoryIOFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIOaccessor.NoImplFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) NoImplFactory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) abstract MemoryIOFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates transient native memory (not from C heap) and wraps it in aMemoryIOaccessor.NoImplFactory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) static final voidUtil.checkBounds(Ruby runtime, long size, long off, long len) final TypeTypeResolver.findType(Ruby runtime, IRubyObject name) final TypeTypeResolver.findType(Ruby runtime, IRubyObject name, IRubyObject typeMap) CallbackManager.getCallback(Ruby runtime, CallbackInfo cbInfo, Object proc) Deprecated.protected RubyClassInvalidMemoryIO.getErrorClass(Ruby runtime) protected RubyClassNullMemoryIO.getErrorClass(Ruby runtime) static final Pointerprotected abstract PointerAbstractMemory.getPointer(Ruby runtime, long offset) protected PointerBuffer.getPointer(Ruby runtime, long offset) protected PointerPointer.getPointer(Ruby runtime, long offset) static final RubyClassPointer.getPointerClass(Ruby runtime) static RubyStringMemoryUtil.getTaintedByteString(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.static IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory objectstatic IRubyObjectMemoryUtil.getTaintedString(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory objectstatic final RubyClassType.getTypeClass(Ruby runtime) voidFactory.init(Ruby runtime, RubyModule FFI) Registers FFI ruby classes/modulesvoidNoImplFactory.init(Ruby runtime, RubyModule ffi) voidabstract AbstractInvokerFactory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) NoImplFactory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) static final IRubyObjectUtil.newSigned16(Ruby runtime, short value) static final IRubyObjectUtil.newSigned32(Ruby runtime, int value) static final IRubyObjectUtil.newSigned64(Ruby runtime, long value) static final IRubyObjectUtil.newSigned8(Ruby runtime, byte value) static RubyStringMemoryUtil.newTaintedString(Ruby runtime, byte[] bytes) Creates a ruby string from a byte arraystatic final IRubyObjectUtil.newUnsigned16(Ruby runtime, short value) static final IRubyObjectUtil.newUnsigned32(Ruby runtime, int value) static final IRubyObjectUtil.newUnsigned64(Ruby runtime, long value) static final IRubyObjectUtil.newUnsigned8(Ruby runtime, byte value) abstract AbstractMemoryfinal AbstractMemoryfinal AbstractMemorystatic ByteOrderUtil.parseByteOrder(Ruby runtime, IRubyObject byte_order) protected abstract AbstractMemoryprotected abstract AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryprotected AbstractMemoryabstract MemoryIOFactory.wrapDirectMemory(Ruby runtime, long address) Wraps a native C memory address in aMemoryIOaccessor.NoImplFactory.wrapDirectMemory(Ruby runtime, long address) Constructors in org.jruby.ext.ffi with parameters of type RubyModifierConstructorDescriptionprotectedAbstractInvoker(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a newAbstractInvokerinstance.protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size) protectedAbstractMemory(Ruby runtime, RubyClass klass, MemoryIO io, long size, int typeSize) Initializes a newType.Arrayinstance.Initializes a newType.Arrayinstance.ArrayField(Ruby runtime, RubyClass klass) ArrayMemoryIO(Ruby runtime, byte[] buffer, int offset, int length) ArrayMemoryIO(Ruby runtime, int size) AutoPointer(Ruby runtime, RubyClass klazz) CallbackInfo(Ruby runtime, RubyClass klazz, Type returnType, Type[] paramTypes, boolean stdcall) Creates a newCallbackInfoinstance.FreedMemoryIO(Ruby runtime) FunctionField(Ruby runtime, RubyClass klass) InnerStructField(Ruby runtime, RubyClass klass) InvalidMemoryIO(Ruby runtime, boolean isDirect, long address, String message) protectedMemoryObject(Ruby runtime, RubyClass metaClass) MemoryPointer(Ruby runtime, RubyClass klass) NullMemoryIO(Ruby runtime) NumberField(Ruby runtime, RubyClass klass) protectedprotectedprotectedPointerField(Ruby runtime, RubyClass klass) Creates a newStructLayoutinstance.protectedType(Ruby runtime, RubyClass klass, NativeType type) Initializes a newTypeinstance.protectedType(Ruby runtime, RubyClass klass, NativeType type, int size, int alignment) Initializes a newTypeinstance. -
Uses of Ruby in org.jruby.ext.ffi.io
Constructors in org.jruby.ext.ffi.io with parameters of type RubyModifierConstructorDescriptionFileDescriptorByteChannel(Ruby runtime, int fd) Creates a newFileDescriptorByteChannel.FileDescriptorIO(Ruby runtime, RubyClass klass) FileDescriptorIO(Ruby runtime, IRubyObject fd) -
Uses of Ruby in org.jruby.ext.ffi.jffi
Methods in org.jruby.ext.ffi.jffi with parameters of type RubyModifier and TypeMethodDescriptionFactory.allocateDirectMemory(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIOaccessor.Factory.allocateDirectMemory(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIOaccessor.Factory.allocateTransientDirectMemory(Ruby runtime, int size, int align, boolean clear) static final DynamicMethodMethodFactory.createDynamicMethod(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) final NativeCallbackFactoryCallbackManager.getCallbackFactory(Ruby runtime, CallbackInfo cbInfo) voidFactory.init(Ruby runtime, RubyModule FFI) static IRubyObjectJITRuntime.newBoolean(Ruby runtime, int value) static IRubyObjectJITRuntime.newBoolean(Ruby runtime, long value) static IRubyObjectJITRuntime.newFloat32(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newFloat32(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newFloat64(Ruby runtime, long value) Deprecated.Factory.newFunction(Ruby runtime, Pointer address, CallbackInfo cbInfo) static IRubyObjectDeprecated.static IRubyObjectDeprecated.static IRubyObjectJITRuntime.newPointer32(Ruby runtime, int address) static IRubyObjectJITRuntime.newPointer32(Ruby runtime, long address) static IRubyObjectJITRuntime.newPointer64(Ruby runtime, long address) static IRubyObjectJITRuntime.newSigned16(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newSigned16(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newSigned32(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newSigned32(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newSigned64(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newSigned8(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newSigned8(Ruby runtime, long value) Deprecated.static IRubyObjectstatic IRubyObjectstatic IRubyObjectJITRuntime.newUnsigned16(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newUnsigned16(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newUnsigned32(Ruby runtime, int value) static IRubyObjectJITRuntime.newUnsigned32(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newUnsigned64(Ruby runtime, long value) Deprecated.static IRubyObjectJITRuntime.newUnsigned8(Ruby runtime, int value) Deprecated.static IRubyObjectJITRuntime.newUnsigned8(Ruby runtime, long value) Deprecated.Factory.wrapDirectMemory(Ruby runtime, long address) Constructors in org.jruby.ext.ffi.jffi with parameters of type RubyModifierConstructorDescriptionCodeMemoryIO(Ruby runtime, long address) CodeMemoryIO(Ruby runtime, Pointer pointer) DynamicLibrary(Ruby runtime, RubyClass klass, String name, com.kenai.jffi.Library library) NativeCallbackFactory(Ruby runtime, CallbackInfo cbInfo) Symbol(Ruby runtime, DynamicLibrary library, String name, MemoryIO io) -
Uses of Ruby in org.jruby.ext.fiber
Fields in org.jruby.ext.fiber declared as RubyConstructors in org.jruby.ext.fiber with parameters of type RubyModifierConstructorDescriptionFiberQueue(Ruby runtime) ThreadFiber(Ruby runtime, RubyClass klass) ThreadFiber(Ruby runtime, RubyClass klass, boolean root) -
Uses of Ruby in org.jruby.ext.io.nonblock
Methods in org.jruby.ext.io.nonblock with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.jruby
Methods in org.jruby.ext.jruby with parameters of type RubyModifier and TypeMethodDescriptionvoidvoidvoidstatic voidCoreExt.loadStringExtensions(Ruby runtime) Deprecated.Constructors in org.jruby.ext.jruby with parameters of type RubyModifierConstructorDescriptionJRubyExecutionContextLocal(Ruby runtime, RubyClass type) JRubyFiberLocal(Ruby runtime, RubyClass type) JRubyObjectInputStream(Ruby runtime, RubyClass rubyClass) JRubyThreadLocal(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.ext.mathn
Methods in org.jruby.ext.mathn with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.monitor
Methods in org.jruby.ext.monitor with parameters of type RubyModifier and TypeMethodDescriptionstatic voidvoidConstructors in org.jruby.ext.monitor with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.pathname
Methods in org.jruby.ext.pathname with parameters of type RubyConstructors in org.jruby.ext.pathname with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.rbconfig
Methods in org.jruby.ext.rbconfig with parameters of type RubyModifier and TypeMethodDescriptionstatic StringRbConfigLibrary.getArchDir(Ruby runtime) static Stringstatic StringRbConfigLibrary.getNormalizedHome(Ruby runtime) static StringRbConfigLibrary.getRubyArchDir(Ruby runtime) static StringRbConfigLibrary.getRubygemsDir(Ruby runtime) static StringRbConfigLibrary.getRubyLibDir(Ruby runtime) static StringRbConfigLibrary.getRubyLibDirFor(Ruby runtime, String runtimeVerStr) static StringRbConfigLibrary.getRubySharedLibDir(Ruby runtime) static StringRbConfigLibrary.getRuntimeVerStr(Ruby runtime) static StringRbConfigLibrary.getSiteArchDir(Ruby runtime) static StringRbConfigLibrary.getSiteDir(Ruby runtime) static StringRbConfigLibrary.getSiteDirGeneral(Ruby runtime) static StringRbConfigLibrary.getSiteLibDir(Ruby runtime) static StringRbConfigLibrary.getSysConfDir(Ruby runtime) static StringRbConfigLibrary.getVendorArchDir(Ruby runtime) static StringRbConfigLibrary.getVendorDir(Ruby runtime) static StringRbConfigLibrary.getVendorDirGeneral(Ruby runtime) static StringRbConfigLibrary.getVendorLibDir(Ruby runtime) static BooleanRbConfigLibrary.isSiteVendorSame(Ruby runtime) voidJust enough configuration settings (most don't make sense in Java) to run the rubytests unit tests. -
Uses of Ruby in org.jruby.ext.ripper
Methods in org.jruby.ext.ripper that return RubyModifier and TypeMethodDescriptionRipperParserBase.getRuntime()RubyLexer.getRuntime()Warnings.getRuntime()Methods in org.jruby.ext.ripper with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.set
Methods in org.jruby.ext.set with parameters of type RubyModifier and TypeMethodDescriptionprotected voidRubySet.addImpl(Ruby runtime, IRubyObject obj) Deprecated.static voidvoidprotected final voidRubySet.modifyCheck(Ruby runtime) Deprecated.static RubySetConstruct a new Set.static RubySetConstruct a new Set.Constructors in org.jruby.ext.set with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.socket
Methods in org.jruby.ext.socket with parameters of type RubyModifier and TypeMethodDescriptionRubyTCPServer.accept_nonblock(ThreadContext context, Ruby runtime, boolean ex) RubyUNIXServer.accept_nonblock(ThreadContext context, Ruby runtime, boolean ex) protected static IRubyObjectRubyUDPSocket.doReceive(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length, RubyBasicSocket.ReceiveTuple tuple) protected voidprotected voidprotected ChannelFDRubyServerSocket.initChannelFD(Ruby runtime) protected ChannelFDRubySocket.initChannelFD(Ruby runtime) protected voidRubySocket.initFromServer(Ruby runtime, RubySocket serverSocket, SocketChannel socketChannel) voidprotected static ChannelFDRubyBasicSocket.newChannelFD(Ruby runtime, Channel channel) protected static voidRubyUNIXSocket.rb_sys_fail(Ruby runtime, String message) static RuntimeExceptionDeprecated.static RuntimeExceptionstatic RuntimeExceptionSocketUtils.sockerr_with_trace(Ruby runtime, String msg, StackTraceElement[] trace) Constructors in org.jruby.ext.socket with parameters of type RubyModifierConstructorDescriptionAddrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress) Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port) Addrinfo(Ruby runtime, RubyClass cls, InetAddress inetAddress, int port, jnr.constants.platform.Sock sock) Addrinfo(Ruby runtime, RubyClass cls, NetworkInterface networkInterface, boolean isBroadcast) Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress) Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, jnr.constants.platform.Sock sock, SocketType socketType) Addrinfo(Ruby runtime, RubyClass cls, SocketAddress socketAddress, jnr.constants.platform.Sock sock, SocketType socketType, boolean displaysCanonical) Ifaddr(Ruby runtime, RubyClass metaClass, NetworkInterface ni) Ifaddr(Ruby runtime, RubyClass metaClass, NetworkInterface ni, InterfaceAddress it) Option(Ruby runtime, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList data) Option(Ruby runtime, RubyClass klass, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList data) RubyBasicSocket(Ruby runtime, RubyClass type) RubyIPSocket(Ruby runtime, RubyClass type) RubyServerSocket(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.ext.syslog
Methods in org.jruby.ext.syslog with parameters of type RubyConstructors in org.jruby.ext.syslog with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.thread
Constructors in org.jruby.ext.thread with parameters of type RubyModifierConstructorDescriptionConditionVariable(Ruby runtime, RubyClass type) protectedSizedQueue(Ruby runtime, RubyClass type) SizedQueue(Ruby runtime, RubyClass type, int max) -
Uses of Ruby in org.jruby.ext.timeout
Methods in org.jruby.ext.timeout with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.tracepoint
Constructors in org.jruby.ext.tracepoint with parameters of type Ruby -
Uses of Ruby in org.jruby.ext.zlib
Methods in org.jruby.ext.zlib with parameters of type RubyConstructors in org.jruby.ext.zlib with parameters of type RubyModifierConstructorDescriptionJZlibDeflate(Ruby runtime, RubyClass type) JZlibInflate(Ruby runtime, RubyClass type) JZlibRubyGzipReader(Ruby runtime, RubyClass type) JZlibRubyGzipWriter(Ruby runtime, RubyClass type) RubyGzipFile(Ruby runtime, RubyClass type) -
Uses of Ruby in org.jruby.internal.runtime
Methods in org.jruby.internal.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic GlobalVariableGlobalVariable.newUndefined(Ruby runtime, String name) Constructors in org.jruby.internal.runtime with parameters of type RubyModifierConstructorDescriptionGlobalVariables(Ruby runtime) ThreadService(Ruby runtime) UndefinedAccessor(Ruby runtime, GlobalVariable globalVariable, 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 RubyModifier and TypeMethodDescriptionstatic Supplier<MethodHandle> InvokeDynamicMethodFactory.adaptHandle(MethodHandle method, Ruby runtime, int actualRequired, int required, int optional, boolean rest, String rubyName, Class declaringClass, boolean isStatic, boolean hasContext, boolean hasBlock, boolean frame, RubyModule implementationClass) static MethodHandleInvokeDynamicMethodFactory.finishAdapting(com.headius.invokebinder.SmartBinder binder, RubyModule implementationClass, String rubyName, MethodHandle method, Class declaringClass, Ruby runtime, boolean isStatic, boolean frame) -
Uses of Ruby in org.jruby.ir
Fields in org.jruby.ir declared as RubyMethods in org.jruby.ir that return RubyConstructors in org.jruby.ir with parameters of type Ruby -
Uses of Ruby in org.jruby.ir.operands
Methods in org.jruby.ir.operands that return RubyMethods in org.jruby.ir.operands with parameters of type Ruby -
Uses of Ruby in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic voidIRRuntimeHelpers.aliasGlobalVariable(Ruby runtime, Object newName, Object oldName) static IRScopeIRRuntimeHelpers.decodeScopeFromBytes(Ruby runtime, byte[] scopeBytes, String filename) static final ByteListIRRuntimeHelpers.newByteListFromRaw(Ruby runtime, String str, String encoding) static IRubyObjectstatic booleanIRRuntimeHelpers.shouldPrintIR(Ruby runtime) If the ir.print property is enabled and we are not booting, or the ir.print.all property is enabled and we are booting, return true to indicate IR should be printed. -
Uses of Ruby in org.jruby.ir.targets
Methods in org.jruby.ir.targets with parameters of type Ruby -
Uses of Ruby in org.jruby.ir.targets.indy
Methods in org.jruby.ir.targets.indy that return RubyModifier and TypeMethodDescriptionstatic RubyLiteralValueBootstrap.runtime(ThreadContext context, MutableCallSite site) Methods in org.jruby.ir.targets.indy with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObjectJavaBootstrap.bignumOrNil(Ruby runtime, BigInteger bi) static IRubyObjectJavaBootstrap.booleanOrNil(Ruby runtime, Boolean b) static IRubyObjectJavaBootstrap.fixnumOrNil(Ruby runtime, Byte b) static IRubyObjectJavaBootstrap.fixnumOrNil(Ruby runtime, Character c) static IRubyObjectJavaBootstrap.fixnumOrNil(Ruby runtime, Integer i) static IRubyObjectJavaBootstrap.fixnumOrNil(Ruby runtime, Long l) static IRubyObjectJavaBootstrap.fixnumOrNil(Ruby runtime, Short s) static IRubyObjectJavaBootstrap.floatOrNil(Ruby runtime, Double d) static IRubyObjectJavaBootstrap.floatOrNil(Ruby runtime, Float f) static IRubyObjectJavaBootstrap.stringOrNil(Ruby runtime, CharSequence cs) static IRubyObjectJavaBootstrap.stringOrNil(Ruby runtime, ByteList bl) -
Uses of Ruby in org.jruby.java.codegen
Methods in org.jruby.java.codegen with parameters of type RubyModifier and TypeMethodDescriptionstatic ClassRealClassGenerator.createOldStyleImplClass(Class[] superTypes, RubyClass rubyClass, Ruby ruby, String name, ClassDefiningClassLoader classLoader) static ClassRealClassGenerator.createRealImplClass(Class superClass, Class<?>[] interfaces, RubyClass rubyClass, Ruby ruby, String name) static ClassRealClassGenerator.defineOldStyleImplClass(Ruby ruby, String name, String[] superTypeNames, Map<String, List<Method>> simpleToAll, ClassDefiningClassLoader loader) This variation on defineImplClass uses all the classic type coercion logic for passing args and returning results.static ClassRealClassGenerator.defineRealImplClass(Ruby runtime, String name, Class superClass, String[] superTypeNames, Map<String, List<Method>> simpleToAll) This variation on defineImplClass uses all the classic type coercion logic for passing args and returning results. -
Uses of Ruby in org.jruby.java.dispatch
Methods in org.jruby.java.dispatch with parameters of type RubyModifier and TypeMethodDescriptionstatic JavaCallableCallableSelector.matchingCallableArityFour(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityFour(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityFour(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) static JavaCallableCallableSelector.matchingCallableArityN(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject[] args) Deprecated.static ParameterTypesCallableSelector.matchingCallableArityN(Ruby runtime, Map cache, ParameterTypes[] methods, IRubyObject[] args) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityN(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject[] args) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityN(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject[] args) static JavaCallableCallableSelector.matchingCallableArityOne(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityOne(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityOne(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0) static JavaCallableCallableSelector.matchingCallableArityThree(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityThree(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityThree(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2) static JavaCallableCallableSelector.matchingCallableArityTwo(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1) Deprecated.static <T extends ParameterTypes>
TCallableSelector.matchingCallableArityTwo(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityTwo(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1) static <T extends JavaCallable>
TCallableSelector.matchingCallableArityZero(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods) -
Uses of Ruby in org.jruby.java.invokers
Methods in org.jruby.java.invokers with parameters of type RubyModifier and TypeMethodDescriptionprotected JavaCallableConstructorInvoker.createCallable(Ruby ruby, Member member) protected final JavaCallableMethodInvoker.createCallable(Ruby runtime, Member member) protected abstract TRubyToJavaInvoker.createCallable(Ruby runtime, Member member) protected final IRubyObjectFieldMethodZero.handleGetException(Ruby runtime, IllegalAccessException ex) protected final IRubyObjectFieldMethodOne.handleSetException(Ruby runtime, IllegalAccessException ex) protected final IRubyObjectFieldMethodOne.handleSetException(Ruby runtime, IllegalArgumentException ex) -
Uses of Ruby in org.jruby.java.proxies
Methods in org.jruby.java.proxies with parameters of type RubyModifier and TypeMethodDescriptionstatic intConcreteJavaProxy.findSuperLine(Ruby runtime, DynamicMethod dm, int start) static ArrayJavaProxyDeprecated.ArrayJavaProxy.setValue(Ruby runtime, int index, IRubyObject value) static voidConcreteJavaProxy.StaticJCreateMethod.tryInstall(Ruby runtime, RubyClass clazz, JavaProxyClass proxyClass, Class<? extends ReifiedJavaProxy> reified, boolean overwriteInitialize) Constructors in org.jruby.java.proxies with parameters of type RubyModifierConstructorDescriptionArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array) ArrayJavaProxy(Ruby runtime, RubyClass klazz, Object array, JavaUtil.JavaConverter converter) ConcreteJavaProxy(Ruby runtime, RubyClass klazz) ConcreteJavaProxy(Ruby runtime, RubyClass klazz, Object object) InterfaceJavaProxy(Ruby runtime, RubyClass klazz) MapJavaProxy(Ruby runtime, RubyClass klazz) MapJavaProxy(Ruby runtime, RubyClass klazz, Map map) -
Uses of Ruby in org.jruby.java.util
Methods in org.jruby.java.util with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObjectArrayUtils.arefDirect(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index) static IRubyObjectArrayUtils.asetDirect(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index, IRubyObject value) static ArrayJavaProxyArrayUtils.newProxiedArray(Ruby runtime, Class<?> componentType, int size) Deprecated.static ArrayJavaProxyArrayUtils.newProxiedArray(Ruby runtime, Class<?> componentType, JavaUtil.JavaConverter converter, int size) Deprecated.static voidArrayUtils.setWithExceptionHandlingDirect(Ruby runtime, Object array, int index, Object javaValue) -
Uses of Ruby in org.jruby.javasupport
Fields in org.jruby.javasupport declared as RubyMethods in org.jruby.javasupport that return RubyModifier and TypeMethodDescriptionstatic RubyJavaEmbedUtils.initialize(List<String> loadPaths) Get an instance of a JRuby runtime.static RubyJavaEmbedUtils.initialize(List<String> loadPaths, RubyInstanceConfig config) Get an instance of a JRuby runtime.Methods in org.jruby.javasupport with parameters of type RubyModifier and TypeMethodDescriptionJavaArray.arefDirect(Ruby runtime, int intIndex) Deprecated.JavaArray.asetDirect(Ruby runtime, int intIndex, IRubyObject value) Deprecated.static IRubyObjectJava.constructProxy(Ruby runtime, Constructor<? extends IRubyObject> proxyConstructor, RubyClass clazz) abstract IRubyObjectstatic ObjectJavaUtil.convertArgument(Ruby runtime, Object argument, Class<?> parameterType) Deprecated.static IRubyObjectJavaUtil.convertJavaArrayElementToRuby(Ruby runtime, JavaUtil.JavaConverter converter, Object array, int i) static IRubyObject[]JavaUtil.convertJavaArrayToRuby(Ruby runtime, Object[] objects) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, boolean b) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, double d) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, float f) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, int i) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, long l) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, Object object) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, Object object, Class javaClass) static IRubyObjectJavaUtil.convertJavaToRuby(Ruby runtime, JavaUtil.JavaConverter converter, Object object) Deprecated.static IRubyObjectJavaUtil.convertJavaToUsableRubyObject(Ruby runtime, Object object) Returns a usable RubyObject; for types that are not converted to Ruby native types, a Java proxy will be returned.static IRubyObjectJavaUtil.convertJavaToUsableRubyObjectWithConverter(Ruby runtime, Object object, JavaUtil.JavaConverter converter) static IRubyObject[]JavaUtil.convertStringArrayToRuby(Ruby runtime, String[] strings, JavaUtil.StringConverter converter) static JavaConstructorJavaConstructor.create(Ruby runtime, Constructor<?> constructor) Deprecated.static JavaMethodDeprecated.static JavaMethodstatic JavaMethodJavaMethod.createDeclared(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) Deprecated.static RubyClassJavaObject.createJavaObjectClass(Ruby runtime, RubyClass Object, RubyModule javaModule) Deprecated.static JavaProxyClassJavaSupportImpl.fetchJavaProxyClass(Ruby runtime, JavaSupportImpl.ProxyClassKey classKey) static JavaClassJavaClass.forNameQuiet(Ruby runtime, String className) Deprecated.static JavaClassJavaClass.forNameVerbose(Ruby runtime, String className) Deprecated.static intJava.JCreateMethod.forTypes(Ruby runtime, IRubyObject[] args, Java.JCtorCache cache) Disambiguate which ctor index to call from the given cachestatic JavaClassDeprecated.abstract IRubyObjectstatic RubyModuleJava.get_interface_module(Ruby runtime, IRubyObject java_class) Deprecated.static IRubyObjectJava.getInstance(Ruby runtime, Object rawJavaObject) Same as Java#getInstance(runtime, rawJavaObject, false).static IRubyObjectJava.getInstance(Ruby runtime, Object rawJavaObject, boolean forceCache) 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 RubyModuleJava.getInterfaceModule(Ruby runtime, Class javaClass) Deprecated.static RubyModuleJava.getInterfaceModule(Ruby runtime, JavaClass javaClass) Deprecated.static ClassJava.getJavaClass(Ruby runtime, String className) Deprecated.static ClassJava.getJavaClass(Ruby runtime, String className, boolean initialize) Deprecated.static RubyModuleJava.getJavaPackageModule(Ruby runtime, Package pkg) static RubyModuleJava.getJavaPackageModule(Ruby runtime, String packageString) Deprecated.static JavaCallableJavaClass.getMatchingCallable(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) Deprecated.static JavaConstructorJavaConstructor.getMatchingConstructor(Ruby runtime, Class<?> javaClass, Class<?>[] argumentTypes) static JavaMethodJavaMethod.getMatchingDeclaredMethod(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) static RubyModuleJava.getProxyClass(Ruby runtime, Class<?> clazz) Deprecated.static RubyModuleJava.getProxyClass(Ruby runtime, JavaClass javaClass) Deprecated.static RubyClassJava.getProxyClassForObject(Ruby runtime, Object object) Deprecated.static Constructor<? extends IRubyObject> Java.getRealClassConstructor(Ruby runtime, Class<? extends IRubyObject> proxyImplClass) static RubyArrayJavaClass.getRubyArray(Ruby runtime, Class<?>[] classes) Deprecated.static <T> TJavaEmbedUtils.invokeMethod(Ruby runtime, Object receiver, String method, Object[] args, Class<T> returnType) Convenience function for embeddersstatic IRubyObjectJavaUtil.java_to_ruby(Ruby runtime, IRubyObject object) Deprecated.static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, boolean value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, byte value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, char value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, double value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, float value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, int value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, long value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, short value) static IRubyObjectJavaEmbedUtils.javaToRuby(Ruby runtime, Object value) Convert a java object to a Ruby object.voidstatic ClassJava.loadJavaClass(Ruby runtime, String className) Deprecated.static RaiseExceptionJavaMethod.newArgSizeMismatchError(Ruby runtime, Class... argTypes) static RaiseExceptionJavaMethod.newMethodNotFoundError(Ruby runtime, Class target, String prettyName, String simpleName) Deprecated.static RubyModuleJava.resolveType(Ruby runtime, IRubyObject type) Deprecated.static <T> TJavaEmbedUtils.rubyToJava(Ruby runtime, IRubyObject value, Class<T> type) static JavaProxyClassJavaSupportImpl.saveJavaProxyClass(Ruby runtime, JavaSupportImpl.ProxyClassKey classKey, JavaProxyClass klass) abstract voidJavaUtil.JavaConverter.set(Ruby runtime, Object array, int i, IRubyObject value) voidJavaUtil.StringConverter.set(Ruby runtime, Object array, int i, IRubyObject value) static RubyModuleJava.setProxyClass(Ruby runtime, RubyModule target, String constName, Class<?> javaClass) Deprecated.static voidDispose of the runtime you initialized.static IRubyObjectDeprecated.static RubyArrayJavaClass.toRubyArray(Ruby runtime, Class<?>[] classes) Deprecated.static IRubyObjectJavaUtil.trySimpleConversions(Ruby runtime, Object object) static JavaObjectJavaUtil.unwrapJavaObject(Ruby runtime, IRubyObject convertee, String errorMessage) Deprecated.static ObjectJavaUtil.unwrapJavaValue(Ruby runtime, IRubyObject object, String errorMessage) Deprecated.static IRubyObjectJava.wrap(Ruby runtime, IRubyObject java_object) Deprecated.static JavaObjectDeprecated.static IRubyObjectJava.wrapJavaObject(Ruby runtime, Object object) Deprecated.Constructors in org.jruby.javasupport with parameters of type RubyModifierConstructorDescriptionprotectedInterpretedEvalUnit(Ruby runtime, Node node) Deprecated.protectedInterpretedEvalUnit(Ruby runtime, ParseResult result) Deprecated.Deprecated.Deprecated.JavaMethod(Ruby runtime, Method method) protectedJavaObject(Ruby runtime, RubyClass rubyClass, Object value) Deprecated.JavaSupport(Ruby runtime) JavaSupportImpl(Ruby runtime) -
Uses of Ruby in org.jruby.javasupport.binding
Fields in org.jruby.javasupport.binding declared as RubyMethods in org.jruby.javasupport.binding with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyModuleInitializer.setupProxyClass(Ruby runtime, Class<?> javaClass, RubyClass proxy) Deprecated.static RubyModuleInitializer.setupProxyModule(Ruby runtime, Class<?> javaClass, RubyModule proxy) Deprecated.Constructors in org.jruby.javasupport.binding with parameters of type Ruby -
Uses of Ruby in org.jruby.javasupport.ext
Methods in org.jruby.javasupport.ext with parameters of type RubyModifier and TypeMethodDescriptionstatic voidJavaExtensions.define(Ruby runtime, Class javaClass, RubyModule proxyClass) -
Uses of Ruby in org.jruby.javasupport.proxy
Methods in org.jruby.javasupport.proxy with parameters of type RubyModifier and TypeMethodDescriptionstatic JavaProxyClassJavaProxyClass.getProxyClass(Ruby runtime, RubyClass clazz) Deprecated.static RaiseExceptionJavaProxyConstructor.mapInstantiationException(Ruby runtime, Throwable e) final ObjectJavaProxyConstructor.newInstance(Object[] args, Ruby runtime, IRubyObject clazz) final IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, Object[] args) final IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, IRubyObject arg0) final IRubyObjectJavaProxyConstructor.newInstance(Ruby runtime, IRubyObject self, IRubyObject[] args) static RuntimeExceptionJavaProxyConstructor.throwInstantiationExceptionCause(Ruby runtime, ReflectiveOperationException e) Constructors in org.jruby.javasupport.proxy with parameters of type RubyModifierConstructorDescriptionJavaProxyReflectionObject(Ruby runtime, RubyClass metaClass) ProxyMethodImpl(Ruby runtime, JavaProxyClass clazz, Method method, Method superMethod) -
Uses of Ruby in org.jruby.javasupport.util
Methods in org.jruby.javasupport.util with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.static RubyHashRuntimeHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) Deprecated. -
Uses of Ruby in org.jruby.lexer
Methods in org.jruby.lexer with parameters of type RubyModifier and TypeMethodDescriptionvoidLexingCommon.checkRegexpFragment(Ruby runtime, ByteList value, RegexpOptions options) voidLexingCommon.checkRegexpSyntax(Ruby runtime, ByteList value, RegexpOptions options) voidLexingCommon.setRegexpEncoding(Ruby runtime, ByteList value, RegexpOptions options) -
Uses of Ruby in org.jruby.lexer.yacc
Methods in org.jruby.lexer.yacc that return Ruby -
Uses of Ruby in org.jruby.main
Fields in org.jruby.main declared as RubyMethods in org.jruby.main that return RubyModifier and TypeMethodDescriptionPrebootMain.getPrebootRuntime()protected RubyCheckpointMain.prepareRuntime(RubyInstanceConfig config, String[] args) protected RubyDripMain.prepareRuntime(RubyInstanceConfig config, String[] args) protected RubyPrebootMain.prepareRuntime(RubyInstanceConfig config, String[] args) Methods in org.jruby.main with parameters of type RubyModifier and TypeMethodDescriptionprotected voidCheckpointMain.endPreboot(RubyInstanceConfig config, Ruby ruby, String[] args) protected voidDripMain.endPreboot(RubyInstanceConfig config, Ruby ruby, String[] args) protected voidPrebootMain.endPreboot(RubyInstanceConfig config, Ruby ruby, String[] args) -
Uses of Ruby in org.jruby.management
Methods in org.jruby.management with parameters of type RubyConstructors in org.jruby.management with parameters of type RubyModifierConstructorDescriptionBeanManagerImpl(Ruby ruby, boolean managementEnabled) ParserStats(Ruby ruby) -
Uses of Ruby in org.jruby.parser
Fields in org.jruby.parser declared as RubyMethods in org.jruby.parser that return RubyMethods in org.jruby.parser with parameters of type RubyModifier and TypeMethodDescriptionParser.addGetsLoop(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) ParserManager.addGetsLoop(Ruby runtime, ParseResult oldRoot, boolean printing, boolean processLineEndings, boolean split) StaticScope.getLocalVariables(Ruby runtime) Deprecated.Constructors in org.jruby.parser with parameters of type RubyModifierConstructorDescriptionParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData) ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, boolean saveData, RubyInstanceConfig config) ParserConfiguration(Ruby runtime, int lineNumber, boolean inlineSource, boolean isFileParse, RubyInstanceConfig config) Deprecated.ParserManager(Ruby runtime) RubyParser(Ruby runtime, LexerSource source, DynamicScope scope, ParserType type) RubyParserBase(Ruby runtime, LexerSource source, DynamicScope scope, ParserType type) StaticScopeFactory(Ruby runtime) -
Uses of Ruby in org.jruby.runtime
Fields in org.jruby.runtime declared as RubyModifier and TypeFieldDescriptionprotected final RubyGlobalVariable.runtimefinal RubyThreadContext.runtimeFields in org.jruby.runtime with type parameters of type RubyMethods in org.jruby.runtime that return RubyModifier and TypeMethodDescriptionfinal RubyThreadContext.getRuntime()Retrieve the runtime associated with this context.Methods in org.jruby.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic intHelpers.addBufferLength(Ruby runtime, int base, int extra) Deprecated.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbolHelpers.addInstanceMethod(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubyArrayHelpers.argumentDescriptorsToParameters(Ruby runtime, ArgumentDescriptor[] argsDesc, boolean isLambda) Deprecated.static RubyArrayHelpers.arrayValue(ThreadContext context, Ruby runtime, IRubyObject value) Deprecated.static IRubyObjectHelpers.breakLocalJumpError(Ruby runtime, IRubyObject value) static intHelpers.calculateBufferLength(Ruby runtime, int length) Same asHelpers.calculateBufferLength(int)but raises a Ruby ArgumentError.static intArity.checkArgumentCount(Ruby runtime, int length, int min, int max) Deprecated.static intArity.checkArgumentCount(Ruby runtime, int length, int min, int max, boolean hasKwargs) Deprecated.static intArity.checkArgumentCount(Ruby runtime, String name, int length, int min, int max) Deprecated.static intArity.checkArgumentCount(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static intArity.checkArgumentCount(Ruby runtime, String name, IRubyObject[] args, int min, int max) Deprecated.static intArity.checkArgumentCount(Ruby runtime, IRubyObject[] args, int min, int max) Deprecated.voidArity.checkArity(Ruby runtime, int length) voidArity.checkArity(Ruby runtime, IRubyObject[] args) voidSignature.checkArity(Ruby runtime, IRubyObject[] args) Deprecated.static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4) static RubyHashHelpers.constructHash(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3, IRubyObject key4, IRubyObject value4, boolean prepareString4, IRubyObject key5, IRubyObject value5, boolean prepareString5) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine) static RubyArrayHelpers.constructRubyArray(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4) static RubyHashHelpers.constructSmallHash(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4, IRubyObject key5, IRubyObject value5) static RubyArrayHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start) static RubyArrayHelpers.createSubarray(IRubyObject[] input, Ruby runtime, int start, int exclude) static ArgumentDescriptor[]Translate encoded String of argument descriptors back into an ArgumentDescriptor liststatic StringHelpers.decodeByteList(Ruby runtime, ByteList value) Decode a given ByteList to a Java string.static RubyArrayHelpers.ensureRubyArray(Ruby runtime, IRubyObject value) Deprecated.static voidHelpers.fillNil(IRubyObject[] arr, int from, int to, Ruby runtime) Deprecated.static voidHelpers.fillNil(IRubyObject[] arr, Ruby runtime) Deprecated.static IRubyObjectHelpers.getBackref(Ruby runtime, ThreadContext context) Deprecated.static BlockHelpers.getBlock(Ruby runtime, ThreadContext context, IRubyObject self, Node node, Block aBlock) static BlockHelpers.getBlockFromBlockPassBody(Ruby runtime, IRubyObject proc, Block currentBlock) static IRubyObjectHelpers.getErrorInfo(Ruby runtime) Deprecated.final DynamicScopeBinding.getEvalScope(Ruby runtime) static IRubyObjectHelpers.getGlobalVariable(Ruby runtime, String name) static IRubyObjectHelpers.getInstanceVariable(IRubyObject self, Ruby runtime, String internedName) static IRubyObjectHelpers.getLastLine(Ruby runtime, ThreadContext context) static RubyClassHelpers.getSingletonClass(Ruby runtime, IRubyObject receiver) Deprecated.static RubyModuleHelpers.getSuperClassForDefined(Ruby runtime, RubyModule klazz) Deprecated.static voidHelpers.handleArgumentSizes(ThreadContext context, Ruby runtime, int given, int required, int opt, int rest) static longstatic StringHelpers.javaStringFromPath(Ruby runtime, IRubyObject loadPathEntry) default voidObjectMarshal.marshalTo(Ruby runtime, T obj, RubyClass type, MarshalStream marshalStream) Deprecated, for removal: This API element is subject to removal in a future version.static IRubyObjectHelpers.methodToParameters(Ruby runtime, AbstractRubyMethod recv) Deprecated.static intHelpers.multiplyBufferLength(Ruby runtime, int base, int multiplier) Deprecated.static IRubyObjectHelpers.negate(IRubyObject value, Ruby runtime) static ThreadContextThreadContext.newContext(Ruby runtime) static ThrowableHelpers.newErrorFromException(Ruby runtime, Throwable t) Simplified form of Ruby#newErrorFromException with no default function.static ThrowableReturn a Ruby-friendly Throwable for a given Throwable.static RaiseExceptionHelpers.newIOErrorFromException(Ruby runtime, IOException ex) Construct an appropriate error (which may ultimately not be an IOError) for a given IOException.static RaiseExceptionHelpers.newLocalJumpErrorForBreak(Ruby runtime, IRubyObject breakValue) static IRubyObject[]Helpers.nilledArray(int length, Ruby runtime) Return a nil-filled IRubyObject array of the specified length.static IRubyObjectHelpers.nullToNil(IRubyObject value, Ruby runtime) Deprecated.static ArgumentDescriptor[]Helpers.parameterListToArgumentDescriptors(Ruby runtime, String[] parameterList, boolean isLambda) Deprecated.static VisibilityHelpers.performNormalMethodChecksAndDetermineVisibility(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) Deprecated.static voidArity.raiseArgumentError(Ruby runtime, int length, int min, int max) Deprecated.static voidArity.raiseArgumentError(Ruby runtime, int length, int min, int max, boolean hasKwargs) Deprecated.static voidArity.raiseArgumentError(Ruby runtime, String name, int length, int min, int max) Deprecated.static voidArity.raiseArgumentError(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static voidArity.raiseArgumentError(Ruby runtime, IRubyObject[] args, int min, int max) Deprecated.static voidHelpers.registerEndBlock(Block block, Ruby runtime) Deprecated.static voidHelpers.rewriteStackTrace(Ruby runtime, Throwable e) Deprecated.static IRubyObject[]Arity.scanArgs(Ruby runtime, IRubyObject[] args, int required, int optional) Deprecated.static IRubyObjectHelpers.setBackref(Ruby runtime, ThreadContext context, IRubyObject value) Deprecated.static voidHelpers.setErrorInfo(Ruby runtime, IRubyObject error) Deprecated.static IRubyObjectHelpers.setGlobalVariable(IRubyObject value, Ruby runtime, String name) static IRubyObjectHelpers.setLastLine(Ruby runtime, ThreadContext context, IRubyObject value) static RubyArrayHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index) Deprecated.static RubyArrayHelpers.subarrayOrEmpty(RubyArray array, Ruby runtime, int index, int post) Deprecated.static voidHelpers.throwErrorFromException(Ruby runtime, Throwable t) Throw an appropriate Ruby-friendly error or exception for a given Java exception.final RubyArrayArgumentDescriptor.toArrayForm(Ruby runtime, boolean isLambda) Deprecated.ArgumentType.toArrayForm(Ruby runtime, RubySymbol name) Deprecated.default TObjectMarshal.unmarshalFrom(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) Deprecated, for removal: This API element is subject to removal in a future version.static intHelpers.validateBufferLength(Ruby runtime, long length) static IRubyObjectHelpers.wrapJavaException(Ruby runtime, Throwable ex) Constructors in org.jruby.runtime with parameters of type RubyModifierConstructorDescriptionCopy(Ruby runtime, String name, GlobalVariable other) GlobalVariable(Ruby runtime, String name, IRubyObject value) JavaInternalBlockBody(Ruby runtime, Arity arity) Deprecated.JavaInternalBlockBody(Ruby runtime, Signature signature) For blocks which can be executed in any thread concurrently.JavaInternalBlockBody(Ruby runtime, ThreadContext originalContext, String methodName, Signature signature) For blocks which cannot be executed in parallel.ReadonlyGlobalVariable(Ruby runtime, String name, IRubyObject value) TraceEventManager(Ruby runtime) -
Uses of Ruby in org.jruby.runtime.backtrace
Methods in org.jruby.runtime.backtrace with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObjectTraceType.generateMRIBacktrace(Ruby runtime, RubyStackTraceElement[] trace) final RubyStackTraceElement[]BacktraceData.getBacktrace(Ruby runtime) final RubyStackTraceElement[]BacktraceData.getPartialBacktrace(Ruby runtime, int level) static voidTraceType.logBacktrace(Ruby runtime, RubyStackTraceElement[] trace) static StringTraceType.printBacktraceJRuby(Ruby runtime, RubyStackTraceElement[] frames, String type, String message, boolean color) final voidBacktraceData.yieldPartialBacktrace(Ruby runtime, Predicate<RubyStackTraceElement> consumer) -
Uses of Ruby in org.jruby.runtime.builtin
Methods in org.jruby.runtime.builtin that return Ruby -
Uses of Ruby in org.jruby.runtime.encoding
Methods in org.jruby.runtime.encoding with parameters of type RubyModifier and TypeMethodDescriptionorg.jcodings.EncodingEncodingService.getFileSystemEncoding(Ruby runtime) Deprecated.org.jcodings.EncodingEncodingService.getWindowsFilesystemEncoding(Ruby runtime) Deprecated.Constructors in org.jruby.runtime.encoding with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.load
Fields in org.jruby.runtime.load declared as RubyMethods in org.jruby.runtime.load with parameters of type RubyModifier and TypeMethodDescriptionbooleanvoidvoidvoidDeprecated.voidvoidvoidvoidstatic IRScopeCompiledScriptLoader.loadScriptFromFile(Ruby runtime, InputStream inStream, File resourcePath, String resourceName, boolean isAbsolute) static voidLoadService.reflectedLoad(Ruby runtime, String libraryName, String className, ClassLoader classLoader, boolean wrap) Load the org.jruby.runtime.load.Library implementation specified by className.protected booleanLoadService.tryLoadingLibraryOrScript(Ruby runtime, Library library, String searchFile) Constructors in org.jruby.runtime.load with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.marshal
Fields in org.jruby.runtime.marshal declared as RubyModifier and TypeFieldDescriptionprotected final RubyUnmarshalStream.runtimeDeprecated, for removal: This API element is subject to removal in a future version.Methods in org.jruby.runtime.marshal that return RubyModifier and TypeMethodDescriptionUnmarshalStream.getRuntime()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.jruby.runtime.marshal with parameters of type RubyModifier and TypeMethodDescriptionstatic RubyClassUnmarshalStream.getClassFromPath(Ruby runtime, String path) Deprecated, for removal: This API element is subject to removal in a future version.static RubyModuleUnmarshalStream.getModuleFromPath(Ruby runtime, String path) Deprecated, for removal: This API element is subject to removal in a future version.Constructors in org.jruby.runtime.marshal with parameters of type RubyModifierConstructorDescriptionMarshalStream(Ruby runtime, OutputStream out, int depthLimit) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalCache(Ruby runtime) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalStream(Ruby runtime, InputStream in, boolean freeze, IRubyObject proc) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc) Deprecated, for removal: This API element is subject to removal in a future version.UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint) Deprecated.UnmarshalStream(Ruby runtime, InputStream in, IRubyObject proc, boolean taint, boolean untrust) Deprecated. -
Uses of Ruby in org.jruby.runtime.opto
Methods in org.jruby.runtime.opto with parameters of type RubyModifier and TypeMethodDescriptionstatic InvalidatorOptoFactory.newConstantInvalidator(Ruby runtime) -
Uses of Ruby in org.jruby.runtime.profile
Methods in org.jruby.runtime.profile with parameters of type RubyConstructors in org.jruby.runtime.profile with parameters of type Ruby -
Uses of Ruby in org.jruby.runtime.profile.builtin
Methods in org.jruby.runtime.profile.builtin with parameters of type RubyModifier and TypeMethodDescriptionorg.jruby.runtime.profile.builtin.BuiltinProfilingService.DefaultMethodEnhancerBuiltinProfilingService.newMethodEnhancer(Ruby runtime) Constructors in org.jruby.runtime.profile.builtin with parameters of type RubyModifierConstructorDescriptionBuiltinProfilingService(Ruby runtime) ProfiledMethods(Ruby runtime) -
Uses of Ruby in org.jruby.specialized
Methods in org.jruby.specialized with parameters of type RubyConstructors in org.jruby.specialized with parameters of type RubyModifierConstructorDescriptionRubyArrayOneObject(Ruby runtime, IRubyObject value) RubyArraySpecialized(Ruby runtime, boolean light) RubyArrayTwoObject(Ruby runtime, IRubyObject car, IRubyObject cdr) RubyObjectSpecializer(Ruby runtime) -
Uses of Ruby in org.jruby.util
Fields in org.jruby.util declared as RubyMethods in org.jruby.util with parameters of type RubyModifier and TypeMethodDescriptionstatic voidRegexpSupport.appendRegexpString(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) static voidRegexpSupport.appendRegexpString19(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) Deprecated.static voidStringSupport.asciiOnlyCaseMap(Ruby runtime, ByteList value, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static ProcessShellLauncher.buildProcess(Ruby runtime, String[] args, String[] env, File pwd) static RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck) static IRubyObjectConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception) rb_cstr_to_inumstatic RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static ByteListStringSupport.caseMap(Ruby runtime, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, byte[] bytes) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, int b) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString str, String value) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, ByteList bytes) static StringShellLauncher.changeDirInsideJar(Ruby runtime, String arg) static IRubyObjectTypeConverter.checkArrayType(Ruby runtime, IRubyObject obj) static intStringSupport.checkCaseMapOptions(Ruby runtime, IRubyObject arg0, int flags) Deprecated.static intStringSupport.checkCaseMapOptions(Ruby runtime, IRubyObject arg0, IRubyObject arg1, int flags) Deprecated.static voidSecurityHelper.checkCryptoRestrictions(Ruby runtime) static RubyStringStringSupport.checkEmbeddedNulls(Ruby runtime, IRubyObject ptr) Deprecated.static IRubyObjectTypeConverter.checkFloatType(Ruby runtime, IRubyObject obj) static IRubyObjectTypeConverter.checkHashType(Ruby runtime, IRubyObject obj) static IRubyObjectTypeConverter.checkHashType(Ruby runtime, IRubyObject obj, boolean raise) static RubySymbolDeprecated.static voidStringSupport.checkStringSafety(Ruby runtime, IRubyObject value) Check whether input object's string value contains a null byte, and if so throw ArgumentError.static voidStringSupport.checkStringSafetyMBC(Ruby runtime, RubyString value) static IRubyObjectTypeConverter.checkStringType(Ruby runtime, IRubyObject obj) static IRubyObjectTypeConverter.checkToInteger(Ruby runtime, IRubyObject obj, String method) Deprecated.static intDeprecated.static intDeprecated.static FileResourcestatic FileResourceURLResource.createClassloaderURI(Ruby runtime, String pathname, boolean asFile) static FileResourceJRubyFile.createResource(Ruby runtime, String pathname) static FileResourceJRubyFile.createResource(Ruby runtime, String cwd, String pathname) static FileResourceJRubyFile.createResourceAsFile(Ruby runtime, String pathname) static voidPack.decode(ThreadContext context, Ruby runtime, ByteBuffer encode, int occurrences, RubyArray result, Block block, Pack.Converter converter) Deprecated.static SymbolNameTypeIdUtil.determineSymbolNameType(Ruby runtime, ByteList data) static ByteListStringSupport.dumpCommon(Ruby runtime, ByteList bytelist) rb_str_dumpstatic ByteListStringSupport.dumpCommon(Ruby runtime, ByteList byteList, boolean quoteOnlyIfNeeded) static intByteListHelper.eachCodePointWhile(Ruby runtime, ByteList bytelist, int offset, ByteListHelper.CodePoint each) If you know you have an ASCII ByteList you should do something else.static Map<RubyString, RubyString> OSEnvironment.environmentVariableMap(Ruby runtime) Returns the environment as a hash of Ruby strings.static intShellLauncher.execAndWait(Ruby runtime, IRubyObject[] rawArgs) static intShellLauncher.execAndWait(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) static FileShellLauncher.findPathExecutable(Ruby runtime, String fname) static FileShellLauncher.findPathExecutable(Ruby runtime, String fname, IRubyObject pathObject) Deprecated.static RegexpOptionsRegexpOptions.fromByteList(Ruby runtime, ByteList string) static String[]ShellLauncher.getCurrentEnv(Ruby runtime) OSEnvironment.getEnvironmentVariableMap(Ruby runtime) static String[]ShellLauncher.getModifiedEnv(Ruby runtime, Collection mergeEnv, boolean clearEnv) Deprecated.static URLURLResource.getResourceURL(Ruby runtime, String location) OSEnvironment.getSystemPropertiesMap(Ruby runtime) static IRubyObjectTypeConverter.handleUncoercibleObject(Ruby runtime, IRubyObject obj, RubyClass target, boolean raise) static RubyStringstatic RubyStringRubyStringBuilder.ids(Ruby runtime, IRubyObject object) Convert object to proper Ruby String representation of an id.static RubyStringRubyStringBuilder.inspectIdentifierByteList(Ruby runtime, ByteList byteList) static IRubyObjectTypeConverter.ioCheckIO(Ruby runtime, IRubyObject obj) static RubyIOTypeConverter.ioGetIO(Ruby runtime, IRubyObject obj) static StringClasspathLauncher.jrubyCommand(Ruby runtime) static booleanStringSupport.multiByteSqueeze(Ruby runtime, ByteList value, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc, boolean isArg) Deprecated.ResourceException.ErrnoException.newRaiseException(Ruby runtime) ResourceException.IOError.newRaiseException(Ruby runtime) Deprecated.abstract RaiseExceptionResourceException.newRaiseException(Ruby runtime) static RaiseExceptionTypeConverter.newTypeError(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RaiseExceptionTypeConverter.newTypeErrorMismatch(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RubyStringDeprecated.static RubyStringPack.pack(ThreadContext context, Ruby runtime, RubyArray list, RubyString formatString) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject[] strings, Map env, IOOptions modes) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject[] strings, Map env, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, Map env, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, IOOptions modes) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen(Ruby runtime, IRubyObject string, ModeFlags modes) static ShellLauncher.POpenProcessShellLauncher.popen3(Ruby runtime, IRubyObject[] strings) Deprecated.static ShellLauncher.POpenProcessShellLauncher.popen3(Ruby runtime, IRubyObject[] strings, boolean addShell) Deprecated.static ByteListRegexpSupport.preprocess(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.static intRegexpSupport.raisePreprocessError(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static voidRegexpSupport.raiseRegexpError(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) static voidRegexpSupport.raiseRegexpError19(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) Deprecated.protected static intIOChannel.read(Ruby runtime, IRubyObject io, FunctionalCachingCallSite read, ByteBuffer dst) static intRegexpSupport.readEscapedByte(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) static ByteListRegexpSupport.regexpDescription(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) static ByteListRegexpSupport.regexpDescription19(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) Deprecated.static voidStringSupport.replaceInternal19(Ruby runtime, int beg, int len, RubyString source, RubyString repl) Deprecated.static ProcessShellLauncher.run(Ruby runtime, Map env, String dir, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static ProcessShellLauncher.run(Ruby runtime, IRubyObject string) static ProcessShellLauncher.run(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch) static ProcessShellLauncher.run(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs, OutputStream output) static intShellLauncher.runAndWait(Ruby runtime, IRubyObject[] rawArgs, OutputStream output, boolean doExecutableSearch) static long[]ShellLauncher.runAndWaitPid(Ruby runtime, IRubyObject[] rawArgs) static long[]ShellLauncher.runAndWaitPid(Ruby runtime, IRubyObject[] rawArgs, OutputStream output, boolean doExecutableSearch) static longShellLauncher.runExternal(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args, boolean wait) static intShellLauncher.runExternalAndWait(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) static longShellLauncher.runExternalWithoutWait(Ruby runtime, IRubyObject[] rawArgs) static longShellLauncher.runExternalWithoutWait(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args) static longShellLauncher.runWithoutWait(Ruby runtime, IRubyObject[] rawArgs) org.jcodings.EncodingCalculate the encoding based on kcode option set via 'nesu'.static booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, int arg) static booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, long arg) static StringRubyStringBuilder.str(Ruby runtime, String message, IRubyObject value) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, RubyString value2, String messageMiddle2, IRubyObject value3, String messageMiddle3, RubyString value4, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2, String messageMiddle2, IRubyObject value3, String messageEnd) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message, IRubyObject value2) static StringRubyStringBuilder.str(Ruby runtime, IRubyObject value, String message, IRubyObject value2, String message2) static intStringSupport.strCount(ByteList str, Ruby runtime, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static CodeRangeableStringSupport.strDeleteBang(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static voidStringSupport.strUpdate(Ruby runtime, int beg, int len, RubyString source, RubyString repl) Deprecated.static StringSupport.NeighborCharstatic ByteListStringSupport.succCommon(Ruby runtime, ByteList original) Deprecated.static Map<RubyString, RubyString> OSEnvironment.systemPropertiesMap(Ruby runtime) Returns java system properties as a Map<RubyString,RubyString>.static RubyFloatTypeConverter.toFloat(Ruby runtime, IRubyObject obj) static intStringSupport.trNext(StringSupport.TR tr, Ruby runtime, org.jcodings.Encoding enc) static StringSupport.TrTablesStringSupport.trSetupTable(ByteList str, Ruby runtime, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) Deprecated.static CodeRangeableStringSupport.trTransHelper(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static RubyStringRubyStringBuilder.types(Ruby runtime, RubyModule type) static RubyStringRubyStringBuilder.types(Ruby runtime, RubyModule type1, RubyModule type2) static booleanRegexpSupport.unescapeNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape non-ascii elements in the given string, appending the results to the given bytelist if provided.static RubyArrayDeprecated.static RubyArrayPack.unpackWithBlock(ThreadContext context, Ruby runtime, ByteList encodedString, ByteList formatString, Block block) Deprecated.static intPack.utf8Decode(Ruby runtime, byte[] to, int p, int code) rb_uv_to_utf8protected static intIOChannel.write(Ruby runtime, IRubyObject io, FunctionalCachingCallSite write, ByteBuffer src) Perform a write to the given IO-like object, using the given call site, and passing the contents of the given buffer.Constructors in org.jruby.util with parameters of type RubyModifierConstructorDescriptionConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck) ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck, boolean is19) Deprecated.JRubyObjectInputStream(Ruby runtime, InputStream input) LaunchConfig(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch) MRIRecursionGuard(Ruby runtime) Deprecated.POpenProcess(Process child, Ruby runtime, IOOptions modes) Deprecated.POpenProcess(Process child, Ruby runtime, ModeFlags modes) -
Uses of Ruby in org.jruby.util.collections
Methods in org.jruby.util.collections with parameters of type RubyModifier and TypeMethodDescriptionfinal voidStringArraySet.appendString(Ruby runtime, String element) Constructors in org.jruby.util.collections with parameters of type Ruby -
Uses of Ruby in org.jruby.util.io
Methods in org.jruby.util.io with parameters of type RubyModifier and TypeMethodDescriptionstatic InetAddressSockaddr.addressFromString(Ruby runtime, String s) voidOpenFile.ascii8bitBinmode(Ruby runtime) static org.jcodings.EncodingEncodingUtils.ascii8bitEncoding(Ruby runtime) voidOpenFile.checkReopenSeek(ThreadContext context, Ruby runtime, long pos) voidstatic org.jcodings.EncodingEncodingUtils.defaultExternalEncoding(Ruby runtime) static intEncodingUtils.encCodepointLength(Ruby runtime, byte[] pBytes, int p, int e, int[] len_p, org.jcodings.Encoding enc) Deprecated.static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding ptrEnc, int ptr_cr) static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding enc) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, byte[] ptrBytes, org.jcodings.Encoding enc) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, CharSequence cseq) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr, org.jcodings.Encoding enc) static voidEncodingUtils.extractBinmode(Ruby runtime, IRubyObject optionsArg, int[] fmode_p) Deprecated.voidstatic jnr.constants.platform.AddressFamilySockaddr.getAddressFamilyFromSockaddr(Ruby runtime, ByteList val) Deprecated.OpenFile.getModeAsString(Ruby runtime) Deprecated.static intModeFlags.getOFlagsFromString(Ruby runtime, String modesString) voidOpenFile.incrementLineno(Ruby runtime) Deprecated.voidOpenFile.incrementLineno(Ruby runtime, RubyIO io) org.jcodings.EncodingOpenFile.inputEncoding(Ruby runtime) static RubyStringEncodingUtils.ioEncStr(Ruby runtime, RubyString str, OpenFile fptr) static IRubyObjectEncodingUtils.ioEncStr(Ruby runtime, IRubyObject str, OpenFile fptr) static intOpenFile.ioModestrFmode(Ruby runtime, String modestr) Deprecated.static intOpenFile.ioModestrOflags(Ruby runtime, String modestr) Deprecated.static StringOpenFile.ioOflagsModestr(Ruby runtime, int oflags) Deprecated.static RaiseExceptionEncodingUtils.makeEconvException(Ruby runtime, org.jcodings.transcode.EConv ec) Deprecated.static booleanPopenExecutor.nativePopenAvailable(Ruby runtime) Check properties and runtime state to determine whether a native popen is possible.static RubyStringEncodingUtils.newExternalStringWithEncoding(Ruby runtime, String string, org.jcodings.Encoding encoding) static RubyStringEncodingUtils.newExternalStringWithEncoding(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static IRubyObject[]EncodingUtils.openArgsToArgs(Ruby runtime, IRubyObject firstElement, RubyHash options) Deprecated.static SelectorSelectorFactory.openWithRetryFrom(Ruby runtime, SelectorProvider provider) static voidEncodingUtils.rbStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.rbStrBufCat(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static voidEncodingUtils.rbStrBufCat(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) static RubyStringEncodingUtils.rbStrEscape(Ruby runtime, RubyString str) Deprecated.org.jcodings.EncodingOpenFile.readEncoding(Ruby runtime) booleanOpenFile.ready(Ruby runtime, RubyThread thread, int ops, long timeout) Wait until the channel is available for the given operations or the timeout expires.voidvoidOpenFile.setBlocking(Ruby runtime, boolean blocking) voidOpenFile.setNonblock(Ruby runtime) static RubyStringEncodingUtils.setStrBuf(Ruby runtime, IRubyObject obj, int len) static SocketAddressSockaddr.sockaddrFromBytes(Ruby runtime, byte[] val) Deprecated.static voidEncodingUtils.strBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.strBufCat(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static StringSockaddr.stringFromAddress(Ruby runtime, InetAddress as) Constructors in org.jruby.util.io with parameters of type RubyModifierConstructorDescriptionConstruct a new ModeFlags object by parsing the given stringPOSIXProcess(Ruby runtime, long finalPid) RubyInputStream(Ruby runtime, InputStream wrap) RubyOutputStream(Ruby runtime, OutputStream wrap)
Convert.asInteger(ThreadContext, double)instead.