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 Ruby
RubyClass.getClassRuntime()
static Ruby
Ruby.getGlobalRuntime()
Get the global runtime.static Ruby
BasicObjectStub.getRuntime
(IRubyObject self) final Ruby
RubyBasicObject.getRuntime()
Will return the runtime that this object is associated with.static Ruby
Ruby.getThreadLocalRuntime()
Get the thread-local runtime for the current thread, or null if unset.static Ruby
Ruby.newInstance()
Returns a new instance of the JRuby runtime configured with defaults.static Ruby
Ruby.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 Ruby
Ruby.newInstance
(RubyInstanceConfig config) Returns a new instance of the JRuby runtime configured as specified.Modifier and TypeMethodDescriptionprotected void
RubyModule.addMethodSymbols
(Ruby runtime, Set<String> seen, RubyArray ary, boolean not, Visibility visibility) Deprecated.void
Ruby.ObjectSpacer.addToObjectSpace
(Ruby runtime, boolean useObjectSpace, IRubyObject object) static RubyThread
RubyThread.adopt
(Ruby runtime, ThreadService service, Thread thread) boolean
RubyModule.autoloadingValue
(Ruby runtime, String name) Deprecated.static int
RubyMatchData.backrefNumber
(Ruby runtime, org.joni.Regex pattern, org.joni.Region regs, IRubyObject obj) Deprecated.final int
RubyMatchData.backrefNumber
(Ruby runtime, IRubyObject obj) Deprecated.static long
RubyBignum.big2ulong
(Ruby runtime, BigInteger big) static RubyInteger
RubyBignum.bignorm
(Ruby runtime, BigInteger bi) rb_big_normstatic org.jcodings.Encoding
RubyString.checkEncoding
(Ruby runtime, ByteList str1, ByteList str2) static int
check_intprotected static final void
RubyArray.checkLength
(Ruby runtime, long length) Deprecated.static ChannelFD
RubyIO.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 RubyClass
RubyClass.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 void
RubyGlobal.createGlobals
(Ruby runtime) Deprecated.RubyInstanceConfig.createLoadService
(Ruby runtime) static IRubyObject
TopSelfFactory.createTopSelf
(Ruby runtime) Deprecated.static IRubyObject
rb_dbl_cmp (numeric.c)static RubyInteger
Deprecated.static IRubyObject
Deprecated.UseConvert.asFloat(ThreadContext, long)
instead.void
RubyModule.deprecateConstant
(Ruby runtime, String name) Deprecated.static IRubyObject
RubyFileTest.directory_p
(Ruby ruby, IRubyObject filename) Deprecated.final RubyString
RubyString.dupAsChilled
(Ruby runtime, RubyClass clazz, String file, int line) RubyString.dupAsFString
(Ruby runtime) RubyString.FString.dupAsFString
(Ruby runtime) protected RubyArray
static IRubyObject
Deprecated.static IRubyObject
RubyProcess.egid_set
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
static IRubyObject
RubyProcess.GroupID.eid
(Ruby runtime, IRubyObject arg) static IRubyObject
RubyProcess.UserID.eid
(Ruby runtime, IRubyObject arg) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, RubyClass type, IRubyObject object, String method) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject arg) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, RubyClass type, IRubyObject object, String method, IRubyObject[] args) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, IRubyObject object, String method) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, IRubyObject object, String method, IRubyObject arg) static IRubyObject
RubyEnumerator.enumeratorize
(Ruby runtime, IRubyObject object, String method, IRubyObject... args) static IRubyObject
Deprecated.static IRubyObject
RubyProcess.euid_set
(Ruby runtime, IRubyObject arg) Deprecated.static void
RubyIO.failIfDirectory
(Ruby runtime, RubyString pathStr) final void
RubyHash.fastASet
(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final void
RubyHash.fastASetCheckString
(Ruby runtime, IRubyObject key, IRubyObject value) final void
RubyHash.fastASetSmall
(Ruby runtime, IRubyObject key, IRubyObject value, boolean prepareString) final void
RubyHash.fastASetSmallCheckString
(Ruby runtime, IRubyObject key, IRubyObject value) static void
RubyClass.finishClassClass
(Ruby runtime, RubyClass Class) static RubyFixnum
static boolean
static RubyFixnum
static RubyArgsFile.ArgsFileData
RubyArgsFile.ArgsFileData.getArgsFileData
(Ruby runtime) protected static List
<RubyString> RubyDir.getContents
(FileResource directory, Ruby runtime) Deprecated.no longer usedprotected static FileResource
Returns a JavaFile
object for the specified path.protected static JRubyFile
RubyDir.getDirForRmdir
(Ruby runtime, String path) Similar to getDir, but performs different checks to match rmdir behavior.static String
RubyTime.getEnvTimeZone
(Ruby runtime) Deprecated.RubyDir.getHomeFromEnv
(Ruby runtime) static ModeFlags
RubyIO.getIOModes
(Ruby runtime, String modesString) Deprecated.static int
RubyIO.getIOModesIntFromString
(Ruby runtime, String modesString) Deprecated.Deprecated.Deprecated.static org.joda.time.DateTimeZone
RubyTime.getLocalTimeZone
(Ruby runtime) Deprecated.RubyMatchData.getNamedBackrefValues
(Ruby runtime) Deprecated.static IRubyObject
RubyProcess.getpgid
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
Deprecated.static IRubyObject
RubyProcess.getpriority
(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static org.joni.Regex
RubyRegexp.getRegexpFromCache
(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options) static IRubyObject
RubyProcess.getrlimit
(Ruby runtime, IRubyObject arg) Deprecated.static String
RubyTime.getRubyTimeZoneName
(Ruby runtime, org.joda.time.DateTime dt) Deprecated.static RubySymbol
RubySymbol.getSymbolLong
(Ruby runtime, long id) static org.joda.time.DateTimeZone
RubyTime.getTimeZone
(Ruby runtime, long seconds) Deprecated.static org.joda.time.DateTimeZone
RubyTime.getTimeZoneFromString
(Ruby runtime, String zone) Deprecated.static org.joda.time.DateTimeZone
RubyTime.getTimeZoneFromTZString
(Ruby runtime, String zone) Deprecated.static org.joda.time.DateTimeZone
RubyTime.getTimeZoneWithOffset
(Ruby runtime, String zoneName, int offset) Deprecated.static IRubyObject
Deprecated.static IRubyObject
RubyProcess.gid_set
(Ruby runtime, IRubyObject arg) Deprecated.static void
static void
RubyGlobal.initSTDIO
(Ruby runtime, GlobalVariables globals) Deprecated.static RubyString
Deprecated.static RubyNumeric
Deprecated.UseConvert.asFixnum(ThreadContext, long)
instead.static RaiseException
RubyTime.invalidUTCOffset
(Ruby runtime) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)
insteadstatic RaiseException
RubyTime.invalidUTCOffset
(Ruby runtime, IRubyObject value) Deprecated.UseRubyTime.invalidUTCOffset(ThreadContext)
insteadboolean
Deprecated.static IRubyObject
RubyProcess.kill
(Ruby runtime, IRubyObject[] args) Deprecated.void
Deprecated.RubyBasicObject.makeMetaClassBootstrap
(Ruby runtime, RubyClass superClass, RubyClass Class) This will create a new metaclass.final RubyString
RubyString.makeShared
(Ruby runtime, int index, int len) final RubyString
RubyString.makeShared
(Ruby runtime, RubyClass meta, int index, int len) final RubyString
RubyString.makeSharedString
(Ruby runtime, int index, int len) static int
RubyRegexp.matcherMatch
(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.static int
RubyRegexp.matcherSearch
(Ruby runtime, org.joni.Matcher matcher, int start, int range, int option) Deprecated.static RubyFixnum
static RubyFloat
RubyKernel.new_float
(Ruby runtime, IRubyObject object) Deprecated.static RubyProcess.RubyStatus
RubyProcess.newAllocatedProcessStatus
(Ruby runtime, RubyClass metaClass) static RubyString
RubyString.newAllocatedString
(Ruby runtime, RubyClass metaClass) static final RubyArray
<?> Deprecated.static final RubyArray
<?> static final RubyArray
Deprecated.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 RubyArray
RubyArray.newArrayMayCopy
(Ruby runtime, IRubyObject... args) static RubyArray
RubyArray.newArrayMayCopy
(Ruby runtime, IRubyObject[] args, int start) static RubyArray
RubyArray.newArrayMayCopy
(Ruby runtime, IRubyObject[] args, int start, int length) Construct a new RubyArray given the specified range of elements in the source array.static RubyArray
RubyArray.newArrayNoCopy
(Ruby runtime, IRubyObject... args) static RubyArray
RubyArray.newArrayNoCopy
(Ruby runtime, IRubyObject[] args, int begin) static RubyArray
RubyArray.newArrayNoCopy
(Ruby runtime, IRubyObject[] args, int begin, int length) static RubyArray
RubyArray.newArrayNoCopyLight
(Ruby runtime, IRubyObject[] args) static RubyInteger
RubyBignum.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 RubyBignum
Return a Bignum for the given value, or raise FloatDomainError if it is out of range.static RubyBignum
static RubyBignum
static RubyBignum
RubyBignum.newBignum
(Ruby runtime, BigInteger value) static RubyString
RubyString.newBinaryString
(Ruby runtime, String str) static RubyString
RubyString.newBinaryString
(Ruby runtime, ByteList str) static RubyBinding
RubyBinding.newBinding
(Ruby runtime) Deprecated.static RubyBinding
RubyBinding.newBinding
(Ruby runtime, Binding binding) static RubyBinding
RubyBinding.newBinding
(Ruby runtime, IRubyObject self) Deprecated.static RubyArray
RubyArray.newBlankArray
(Ruby runtime, int size) Deprecated.static RubyBoolean
RubyBoolean.newBoolean
(Ruby runtime, boolean value) Deprecated.static RubyIOBuffer
static RubyIOBuffer
RubyIOBuffer.newBuffer
(Ruby runtime, ByteBuffer base, int size, int flags) static RubySymbol
RubySymbol.newCalleeSymbolFromCompound
(Ruby runtime, String compoundName) static RubyString
RubyString.newChilledString
(Ruby runtime, ByteList bytes, int coderange, String file, int line) static RubyClass
Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent) Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, String file, int line) Deprecated.static RubyClass
RubyClass.newClass
(Ruby runtime, RubyClass superClass, String name, ObjectAllocator allocator, RubyModule parent, boolean setParent, CallSite[] extraCallSites) Deprecated.static RubyClass
Deprecated.static RubyClass
RubyClass.newClassBootstrap
(Ruby runtime, RubyClass Object, RubyClass Class, String name) This is an internal API for bootstrapping a few classes before ThreadContext is available.static RubyComplex
RubyComplex.newComplexRaw
(Ruby runtime, IRubyObject x) rb_complex_raw1static RubyComplex
RubyComplex.newComplexRaw
(Ruby runtime, IRubyObject x, IRubyObject y) rb_complex_rawstatic RubyComplex
RubyComplex.newComplexRawImage
(Ruby runtime, IRubyObject image) static RubySymbol
RubySymbol.newConstantSymbol
(Ruby runtime, IRubyObject fqn, ByteList bytes) Deprecated.static RubyString
RubyString.newDebugChilledString
(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubyString
RubyString.newDebugFrozenString
(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubyRegexp
RubyRegexp.newDRegexp
(Ruby runtime, RubyString pattern, int joniOptions) static RubyRegexp
RubyRegexp.newDRegexp
(Ruby runtime, RubyString pattern, RegexpOptions options) static RubyArray
<?> RubyArray.newEmptyArray
(Ruby runtime) static RubyArray
<?> RubyArray.newEmptyArray
(Ruby runtime, RubyClass klass) static RubyString
RubyString.newEmptyBinaryString
(Ruby runtime) static RubyString
RubyString.newEmptyString
(Ruby runtime) static RubyString
RubyString.newEmptyString
(Ruby runtime, org.jcodings.Encoding enc) static RubyString
RubyString.newEmptyString
(Ruby runtime, RubyClass metaClass) static RubyString
RubyString.newEmptyString
(Ruby runtime, RubyClass metaClass, org.jcodings.Encoding enc) static RubyEncoding
RubyEncoding.newEncoding
(Ruby runtime, byte[] name, int p, int end, boolean isDummy) static RubyException
RubyException.newException
(Ruby runtime, RubyClass exceptionClass, String msg) static RubyString
RubyString.newExternalStringWithEncoding
(Ruby runtime, String string, org.jcodings.Encoding encoding) Deprecated.static RubyFileStat
RubyFileStat.newFileStat
(Ruby runtime, int fileno) static RubyFileStat
RubyFileStat.newFileStat
(Ruby runtime, FileDescriptor descriptor) static RubyFileStat
RubyFileStat.newFileStat
(Ruby runtime, String filename, boolean lstat) static RubyFixnum
static RubyFixnum
static RubyFloat
static RubyString
RubyString.newFString
(Ruby runtime, String content) Create anew or deduplicate a RubyString based on the given Java String content.static RubySymbol
RubySymbol.newHardSymbol
(Ruby runtime, String name) static RubySymbol
RubySymbol.newHardSymbol
(Ruby runtime, String name, org.jcodings.Encoding encoding) static RubySymbol
RubySymbol.newHardSymbol
(Ruby runtime, IRubyObject name) static RubySymbol
RubySymbol.newHardSymbol
(Ruby runtime, ByteList bytes) static RubySymbol
RubySymbol.newHardSymbol
(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static final RubyHash
rb_hash_newstatic final RubyHash
RubyHash.newHash
(Ruby runtime, Map valueMap, IRubyObject defaultValue) rb_hash_newstatic RubyHash
RubyHash.newHash
(Ruby runtime, IRubyObject key, IRubyObject value) static RubySymbol
RubySymbol.newIDSymbol
(Ruby runtime, ByteList bytes) Generic identifier symbol creation (or retrieval) method.static RubySymbol
RubySymbol.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 RubySystemExit
RubySystemExit.newInstance
(Ruby runtime, int status, String message) Deprecated.static RubyString
RubyString.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 RubyIO
static RubyIOError
RubyIOError.newIOError
(Ruby runtime, String message) static IOOptions
RubyIO.newIOOptions
(Ruby runtime, int mode) static IOOptions
RubyIO.newIOOptions
(Ruby runtime, long mode) static IOOptions
RubyIO.newIOOptions
(Ruby runtime, String mode) static IOOptions
RubyIO.newIOOptions
(Ruby runtime, IOOptions oldFlags, int orOflags) static IOOptions
RubyIO.newIOOptions
(Ruby runtime, ModeFlags modeFlags) static RubyIO.RubyIOTimeoutError
RubyIO.RubyIOTimeoutError.newIOTimeoutError
(Ruby runtime, String message) static RubyHash
RubyHash.newKwargs
(Ruby runtime, String key, IRubyObject value) static RubyThread.Location
RubyThread.Location.newLocation
(Ruby runtime, RubyStackTraceElement elt) static RubyArray
RubyThread.Location.newLocationArray
(Ruby runtime, RubyStackTraceElement[] elements) static RubyArray
RubyThread.Location.newLocationArray
(Ruby runtime, RubyStackTraceElement[] elements, int offset, int length) static RubySymbol
RubySymbol.newMethodSymbolFromCompound
(Ruby runtime, String compoundName) static ModeFlags
RubyIO.newModeFlags
(Ruby runtime, int mode) static ModeFlags
RubyIO.newModeFlags
(Ruby runtime, long mode) static ModeFlags
RubyIO.newModeFlags
(Ruby runtime, String mode) static RubyModule
Deprecated.static RubyModule
RubyModule.newModule
(Ruby runtime, String name, RubyModule parent, boolean setParent) Deprecated.static RubyModule
RubyModule.newModule
(Ruby runtime, String name, RubyModule parent, boolean setParent, String file, int line) Deprecated.static RubyModule
RubyModule.newModuleBootstrap
(Ruby runtime, String name, RubyModule parent) static RubyNumeric
RubyNumeric.newNumeric
(Ruby runtime) static RubyProc
RubyProc.newProc
(Ruby runtime, RubyClass clazz, Block block, Block.Type type, String file, int line) static RubyProc
RubyProc.newProc
(Ruby runtime, Block.Type type) Deprecated.static RubyProc
RubyProc.newProc
(Ruby runtime, Block block, Block.Type type) static RubyProc
RubyProc.newProc
(Ruby runtime, Block block, Block.Type type, String file, int line) static RubyProc
RubyProc.newProc
(Ruby runtime, Block block, Block.Type type, ISourcePosition sourcePosition) Deprecated.static RubyProcess.RubyStatus
RubyProcess.RubyStatus.newProcessStatus
(Ruby runtime, long status, long pid) static RubyRandom
RubyRandom.newRandom
(Ruby runtime, RubyClass randomClass, IRubyObject seed) Deprecated.static RubyRational
RubyRational.newRational
(Ruby runtime, long x, long y) static RubyRational
RubyRational.newRationalRaw
(Ruby runtime, IRubyObject x, IRubyObject y) rb_rational_rawstatic RubyRegexp
RubyRegexp.newRegexp
(Ruby runtime, String pattern, RegexpOptions options) static RubyRegexp
static RubyRegexp
static RubyRegexp
RubyRegexp.newRegexp
(Ruby runtime, ByteList pattern, RegexpOptions options) static RubyRegexp
RubyRegexp.newRegexpFromStr
(Ruby runtime, RubyString s, int options) static RubyRegexp
RubyRegexp.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 RubyHash
RubyHash.newSmallHash
(Ruby runtime) rb_hash_newstatic RubyString
static RubyString
static RubyString
RubyString.newString
(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyString
RubyString.newString
(Ruby runtime, CharSequence str) static RubyString
RubyString.newString
(Ruby runtime, CharSequence str, org.jcodings.Encoding encoding) static RubyString
static RubyString
static RubyString
RubyString.newString
(Ruby runtime, RubyClass clazz, CharSequence str) Deprecated.static RubyString
static RubyString
static RubyString
static RubyString
RubyString.newStringLight
(Ruby runtime, int size) static RubyString
RubyString.newStringLight
(Ruby runtime, int size, org.jcodings.Encoding encoding) static RubyString
RubyString.newStringLight
(Ruby runtime, ByteList bytes) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, byte[] bytes) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, byte[] bytes, int start, int length) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, ByteList bytes) static RubyString
RubyString.newStringNoCopy
(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyString
RubyString.newStringShared
(Ruby runtime, byte[] bytes) Deprecated.static RubyString
RubyString.newStringShared
(Ruby runtime, byte[] bytes, int start, int length) Deprecated.static RubyString
RubyString.newStringShared
(Ruby runtime, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static RubyString
RubyString.newStringShared
(Ruby runtime, byte[] bytes, org.jcodings.Encoding encoding) Deprecated.static RubyString
RubyString.newStringShared
(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyString
RubyString.newStringShared
(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding encoding) static RubyString
RubyString.newStringShared
(Ruby runtime, RubyString orig) static RubyString
RubyString.newStringShared
(Ruby runtime, ByteList bytes) static RubyString
RubyString.newStringShared
(Ruby runtime, ByteList bytes, int codeRange) static RubyString
RubyString.newStringShared
(Ruby runtime, ByteList bytes, org.jcodings.Encoding encoding) static RubySymbol
static RubySymbol
static RubySymbol
RubySymbol.newSymbol
(Ruby runtime, IRubyObject name) Deprecated.static RubySymbol
static RubySymbol
RubySymbol.newSymbol
(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubyTime
static RubyTime
static RubyTime
Create new (Ruby) Time instance.static RubyTime
RubyTime.newTimeFromNanoseconds
(Ruby runtime, long nanoseconds) Deprecated.static RubyUncaughtThrowError
RubyUncaughtThrowError.newUncaughtThrowError
(Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message) Deprecated.static RubyString
RubyString.newUnicodeString
(Ruby runtime, CharSequence str) static RubyString
RubyString.newUnicodeString
(Ruby runtime, String str) static RubyString
RubyString.newUSASCIIString
(Ruby runtime, String str) static RubyString
RubyString.newUsAsciiStringNoCopy
(Ruby runtime, ByteList bytes) static RubyString
RubyString.newUsAsciiStringShared
(Ruby runtime, byte[] bytes, int start, int length) static RubyString
RubyString.newUsAsciiStringShared
(Ruby runtime, ByteList bytes) static RubyString
RubyString.newUTF16String
(Ruby runtime, CharSequence str) static RubyString
RubyString.newUTF16String
(Ruby runtime, String str) static RubyString
RubyString.newUTF8String
(Ruby runtime, CharSequence str) static RubyString
RubyString.newUTF8String
(Ruby runtime, String str) static RubyFixnum
protected void
RubyHash.op_asetForString
(Ruby runtime, RubyString key, IRubyObject value) protected void
RubyHash.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 double
RubyKernel.parseHexidecimalExponentString2
(Ruby runtime, ByteList str) Deprecated.static IRubyObject
Deprecated.static IRubyObject
static void
RubyRegexp.preprocessCheck
(Ruby runtime, ByteList bytes) static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, RubyString[] strings, int embeddedOptions) Deprecated.static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject[] strings, RegexpOptions options) static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, IRubyObject arg4, RegexpOptions options) Deprecated.static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, RegexpOptions options) Deprecated.static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, RegexpOptions options) Deprecated.static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject arg0, IRubyObject arg1, RegexpOptions options) Deprecated.static RubyString
RubyRegexp.preprocessDRegexp
(Ruby runtime, IRubyObject arg0, RegexpOptions options) Deprecated.static RubyIO
static RubyIO
RubyModule.putMethod
(Ruby runtime, String id, DynamicMethod method) Deprecated.static RubyBignum
RubyRandom.randomSeed
(Ruby runtime) static IRubyObject
Deprecated.static IRubyObject
static IRubyObject
static IRubyObject
RubyIO.select_static
(ThreadContext context, Ruby runtime, IRubyObject[] args) Deprecated.final void
RubyModule.setConstantVisibility
(Ruby runtime, String name, boolean hidden) Deprecated.void
RubyArgsFile.ArgsFileData.setCurrentLineNumber
(Ruby runtime, int linenumber) Deprecated.static IRubyObject
RubyProcess.setpgid
(Ruby runtime, IRubyObject arg1, IRubyObject arg2) Deprecated.static IRubyObject
Deprecated.static IRubyObject
RubyProcess.setpriority
(Ruby runtime, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3) Deprecated.static IRubyObject
Deprecated.static void
Ruby.setThreadLocalRuntime
(Ruby ruby) Set the thread-local runtime to the given runtime.static RubyString
RubyInteger.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 RubyThread
RubyThread.startWaiterThread
(Ruby runtime, long pid, Block block) static RubyFloat
RubyNumeric.str2fnum
(Ruby runtime, RubyString arg) Same as RubyNumeric.str2fnum passing false for strict.static RubyFloat
RubyNumeric.str2fnum
(Ruby runtime, RubyString arg, boolean strict) static IRubyObject
RubyNumeric.str2fnum
(Ruby runtime, RubyString arg, boolean strict, boolean exception) Converts a string representation of a floating-point number to the numeric value.static RubyInteger
RubyNumeric.str2inum
(Ruby runtime, RubyString str, int base) Deprecated.static RubyInteger
RubyNumeric.str2inum
(Ruby runtime, RubyString str, int base, boolean strict) Deprecated.static IRubyObject
RubyNumeric.str2inum
(Ruby runtime, RubyString str, int base, boolean strict, boolean exception) Converts a string representation of an integer to the integer value.final RubyString
final RubyString
int
RubyString.strHashCode
(Ruby runtime) Generate a hash for the String, using its associated Ruby instance's hash seed.final IRubyObject
Deprecated.final IRubyObject
Deprecated.final IRubyObject
Deprecated.static ByteList
RubySymbol.symbolBytesFromString
(Ruby runtime, String internedSymbol) protected static ChannelFD
static void
protected final void
Deprecated.static RubyFixnum
static IRubyObject
Deprecated.Deprecated.final org.jcodings.Encoding
RubyString.toEncoding
(Ruby runtime) Deprecated.static RubyFixnum
static IRubyObject
Deprecated.static IRubyObject
RubyProcess.uid_set
(Ruby runtime, IRubyObject arg) Deprecated.static String
RubyModule.undefinedMethodMessage
(Ruby runtime, IRubyObject name, IRubyObject modName, boolean isModule) int
RubyString.unseededStrHashCode
(Ruby runtime) Generate a hash for the String, without a seed.protected String
RubyModule.validateClassVariable
(Ruby runtime, IRubyObject object) Deprecated.static IRubyObject
RubyProcess.wait
(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject
Deprecated.static long
Deprecated.static IRubyObject
RubyProcess.waitpid
(Ruby runtime, IRubyObject[] args) Deprecated.static IRubyObject
RubyProcess.waitpid2
(Ruby runtime, IRubyObject[] args) static RubyFixnum
ModifierConstructorDescriptionprotected
AbstractRubyMethod
(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) protected
protected
IncludedModule
(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) protected
RubyArgumentError
(Ruby runtime, RubyClass exceptionClass) protected
RubyArgumentError
(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) protected
protected
RubyArray
(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.protected
RubyBasicObject
(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.protected
RubyBasicObject
(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) protected
used by CLASS_ALLOCATOR (any Class' class will be a Class!) also used to bootstrap Object classprotected
rb_class_boot (for plain Classes) also used to bootstrap Module and Class classesprotected
separate path for MetaClass and IncludedModuleWrapper construction (rb_class_boot version for MetaClasses) no marshal, allocator initialization and addSubclass(this) here!protected
This is an internal API only used by Ruby constructor before ThreadContext exists.protected
A constructor which allows passing in an array of supplementary call sites.protected
RubyCompatibilityError
(Ruby runtime, RubyClass exceptionClass) protected
RubyConcurrencyError
(Ruby runtime, RubyClass exceptionClass) RubyContinuation
(Ruby runtime) Deprecated.RubyContinuation
(Ruby runtime, IRubyObject tag) Deprecated.RubyConverter
(Ruby runtime) RubyConverter
(Ruby runtime, RubyClass klass) protected
RubyConverterNotFoundError
(Ruby runtime, RubyClass exceptionClass) protected
RubyDomainError
(Ruby runtime, RubyClass exceptionClass) protected
RubyEncodingError
(Ruby runtime, RubyClass exceptionClass) protected
RubyEOFError
(Ruby runtime, RubyClass exceptionClass) protected
RubyException
(Ruby runtime, RubyClass rubyClass) RubyException
(Ruby runtime, RubyClass rubyClass, String message) protected
protected
RubyFiberError
(Ruby runtime, RubyClass exceptionClass) RubyFile
(Ruby runtime, String path, InputStream in) RubyFile
(Ruby runtime, String path, FileChannel channel) protected
RubyFileStat
(Ruby runtime, RubyClass clazz) RubyFixnum
(Ruby runtime) RubyFixnum
(Ruby runtime, long value) protected
RubyFloatDomainError
(Ruby runtime, RubyClass exceptionClass) protected
RubyFrozenError
(Ruby runtime, RubyClass exceptionClass) RubyGenerator
(Ruby runtime, RubyClass klass) RubyHash
(Ruby runtime, Map valueMap, IRubyObject defaultValue) protected
RubyHash
(Ruby runtime, RubyClass metaClass, IRubyObject defaultValue, RubyHash.RubyHashEntry[] initialTable, int threshold) RubyHash
(Ruby runtime, IRubyObject defaultValue) RubyHash
(Ruby runtime, IRubyObject defaultValue, int buckets) protected
RubyIndexError
(Ruby runtime, RubyClass exceptionClass) protected
RubyIndexError
(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.protected
RubyInterrupt
(Ruby runtime, RubyClass exceptionClass) protected
RubyInterruptedRegexpError
(Ruby runtime, RubyClass exceptionClass) protected
RubyInvalidByteSequenceError
(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) protected
RubyIOError
(Ruby runtime, RubyClass exceptionClass) protected
RubyIOTimeoutError
(Ruby runtime, RubyClass exceptionClass) protected
RubyKeyError
(Ruby runtime, RubyClass exceptionClass) RubyKeyError
(Ruby runtime, RubyClass exceptionClass, String message, IRubyObject recv, IRubyObject key) protected
RubyLoadError
(Ruby runtime, RubyClass exceptionClass) RubyLocalJumpError
(Ruby runtime, RubyClass exceptionClass, String message, RubyLocalJumpError.Reason reason, IRubyObject exitValue) RubyMatchData
(Ruby runtime) RubyMatchData
(Ruby runtime, RubyClass metaClass) protected
RubyMethod
(Ruby runtime, RubyClass rubyClass) RubyModule
(Ruby runtime) standard path for Module constructionprotected
RubyModule
(Ruby runtime, RubyClass metaClass) used by MODULE_ALLOCATOR and RubyClass constructorsprotected
RubyModule
(Ruby runtime, RubyClass metaClass, boolean objectSpace) separate path for MetaClass constructionprotected
RubyNameError
(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) protected
RubyNoMatchingPatternError
(Ruby runtime, RubyClass exceptionClass) protected
RubyNoMatchingPatternError
(Ruby runtime, RubyClass exceptionClass, String message) protected
RubyNoMatchingPatternKeyError
(Ruby runtime, RubyClass exceptionClass) protected
RubyNoMatchingPatternKeyError
(Ruby runtime, RubyClass exceptionClass, String message) protected
RubyNoMemoryError
(Ruby runtime, RubyClass exceptionClass) protected
RubyNoMethodError
(Ruby runtime, RubyClass exceptionClass) RubyNoMethodError
(Ruby runtime, RubyClass exceptionClass, String message, String name, IRubyObject args) protected
RubyNotImplementedError
(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.protected
RubyObject
(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.protected
RubyObject
(Ruby runtime, RubyClass metaClass, boolean useObjectSpace, boolean canBeTainted) Deprecated.protected
RubyProc
(Ruby runtime, RubyClass rubyClass, Block.Type type) protected
RubyProc
(Ruby runtime, RubyClass rubyClass, Block.Type type, String file, int line) protected
RubyProc
(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) protected
RubyRangeError
(Ruby runtime, RubyClass exceptionClass) RubyRegexp
(Ruby runtime, org.joni.Regex pattern, ByteList str, RegexpOptions options) protected
RubyRegexpError
(Ruby runtime, RubyClass exceptionClass) protected
RubyRuntimeError
(Ruby runtime, RubyClass exceptionClass) protected
RubyScriptError
(Ruby runtime, RubyClass exceptionClass) protected
RubySecurityError
(Ruby runtime, RubyClass exceptionClass) protected
RubySignalException
(Ruby runtime, RubyClass exceptionClass) protected
RubyStandardError
(Ruby runtime, RubyClass exceptionClass) protected
RubyStandardError
(Ruby runtime, RubyClass exceptionClass, String message) RubyStatus
(Ruby runtime, RubyClass metaClass, long status, long pid) protected
RubyStopIteration
(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) protected
RubyString
(Ruby runtime, RubyClass rubyClass, ByteList value, int cr) protected
RubyString
(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, boolean objectspace) protected
RubyString
(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc) RubyString
(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding encoding, boolean objectSpace) protected
RubyString
(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc, int cr) protected
RubySyntaxError
(Ruby runtime, RubyClass exceptionClass) protected
RubySystemCallError
(Ruby runtime, RubyClass rubyClass) protected
RubySystemExit
(Ruby runtime, RubyClass exceptionClass) protected
RubySystemStackError
(Ruby runtime, RubyClass exceptionClass) protected
RubyThread
(Ruby runtime, RubyClass type, boolean adopted) RubyThread
(Ruby runtime, RubyClass klass, Runnable runnable) protected
RubyThreadError
(Ruby runtime, RubyClass exceptionClass) protected
RubyTypeError
(Ruby runtime, RubyClass exceptionClass) protected
RubyUnboundMethod
(Ruby runtime) protected
RubyUncaughtThrowError
(Ruby runtime, RubyClass exceptionClass) Deprecated.protected
RubyUndefinedConversionError
(Ruby runtime, RubyClass exceptionClass) RubyYielder
(Ruby runtime) RubyYielder
(Ruby runtime, RubyClass klass) protected
RubyZeroDivisionError
(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.Encoding
MRI.rb_ascii8bit_encoding
(Ruby runtime) static RubyString
MRI.rb_external_str_new_with_enc
(Ruby runtime, String string, org.jcodings.Encoding encoding) static RubyString
MRI.rb_external_str_new_with_enc
(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static void
MRI.rb_str_buf_cat
(Ruby runtime, RubyString str, ByteList ptr) static void
MRI.rb_str_buf_cat
(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static void
MRI.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 RubyArray
ArgsUtil.convertToRubyArray
(Ruby runtime, IRubyObject value, boolean coerce) This name may be a bit misleading, since this also attempts to coerce array behavior using to_ary.static RubyArray
ArgsUtil.convertToRubyArrayWithCoerce
(Ruby runtime, IRubyObject value) static IRubyObject
ArgsUtil.getOptionsArg
(Ruby runtime, IRubyObject arg) Deprecated.static IRubyObject
ArgsUtil.getOptionsArg
(Ruby runtime, IRubyObject... args) static IRubyObject
ArgsUtil.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 RubyHash
CoreConstructors.createHash
(Ruby runtime, IRubyObject key, IRubyObject value) static RubyHash
CoreConstructors.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 void
VariableInterceptor.inject
(BiVariableMap map, Ruby runtime, ManyVarsDynamicScope scope) Deprecated.static void
GlobalVariable.retrieveByKey
(Ruby runtime, BiVariableMap vars, String key) Retrieves a global variable by key from Ruby after the evaluation.static void
LocalGlobalVariable.retrieveByKey
(Ruby runtime, BiVariableMap vars, String name) Retrieves a global variable by key from Ruby runtime after the evaluation.void
BiVariable.setJavaObject
(Ruby runtime, Object javaObject) Sets a Java object as a value of this object.void
GlobalVariable.setJavaObject
(Ruby runtime, Object javaObject) Sets a Java object and its Ruby type as a value of this object.static void
VariableInterceptor.terminateGlobalVariables
(LocalVariableBehavior behavior, Collection<BiVariable> variables, Ruby runtime) Clears global variable values from Ruby runtime to behave the same as JSR 223 reference implementation.void
GlobalVariable.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 RaiseException
RaiseException.createNativeRaiseException
(Ruby runtime, Throwable cause) Deprecated.static RaiseException
RaiseException.createNativeRaiseException
(Ruby runtime, Throwable cause, Member target) Deprecated.static RaiseException
Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, String exceptionPath, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, String exceptionPath, IRubyObject... args) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.from
(Ruby runtime, RubyClass exceptionClass, String msg, IRubyObject backtrace) Construct a new throwable RaiseException appropriate for the target Ruby exception class.static RaiseException
RaiseException.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 void
JRubyPOSIXHelper.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.void
Constructors 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 void
void
Constructors in org.jruby.ext.date with parameters of type RubyModifierConstructorDescriptionDeprecated.Deprecated.protected
RubyDateTime
(Ruby runtime, long millis, org.joda.time.Chronology chronology) RubyDateTime
(Ruby runtime, org.joda.time.DateTime dt) Deprecated.protected
RubyDateTime
(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 TypeMethodDescriptionvoid
void
void
void
void
void
Constructors 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 Ruby
ArrayMemoryIO.runtime
protected final Ruby
InvalidMemoryIO.runtime
Methods in org.jruby.ext.ffi with parameters of type RubyModifier and TypeMethodDescriptionabstract MemoryIO
Factory.allocateDirectMemory
(Ruby runtime, int size, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.abstract MemoryIO
Factory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.NoImplFactory.allocateDirectMemory
(Ruby runtime, int size, boolean clear) NoImplFactory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) abstract MemoryIO
Factory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates transient native memory (not from C heap) and wraps it in aMemoryIO
accessor.NoImplFactory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) static final void
Util.checkBounds
(Ruby runtime, long size, long off, long len) final Type
TypeResolver.findType
(Ruby runtime, IRubyObject name) final Type
TypeResolver.findType
(Ruby runtime, IRubyObject name, IRubyObject typeMap) CallbackManager.getCallback
(Ruby runtime, CallbackInfo cbInfo, Object proc) Deprecated.protected RubyClass
InvalidMemoryIO.getErrorClass
(Ruby runtime) protected RubyClass
NullMemoryIO.getErrorClass
(Ruby runtime) static final Pointer
protected abstract Pointer
AbstractMemory.getPointer
(Ruby runtime, long offset) protected Pointer
Buffer.getPointer
(Ruby runtime, long offset) protected Pointer
Pointer.getPointer
(Ruby runtime, long offset) static final RubyClass
Pointer.getPointerClass
(Ruby runtime) static RubyString
MemoryUtil.getTaintedByteString
(Ruby runtime, MemoryIO io, long offset, int length) Reads a byte (binary) string from a memory object.static IRubyObject
MemoryUtil.getTaintedString
(Ruby runtime, MemoryIO io, long offset) Gets a NUL terminated string from a memory objectstatic IRubyObject
MemoryUtil.getTaintedString
(Ruby runtime, MemoryIO io, long offset, int length) Reads a NUL terminated string from a memory objectstatic final RubyClass
Type.getTypeClass
(Ruby runtime) void
Factory.init
(Ruby runtime, RubyModule FFI) Registers FFI ruby classes/modulesvoid
NoImplFactory.init
(Ruby runtime, RubyModule ffi) void
abstract AbstractInvoker
Factory.newFunction
(Ruby runtime, Pointer address, CallbackInfo cbInfo) NoImplFactory.newFunction
(Ruby runtime, Pointer address, CallbackInfo cbInfo) static final IRubyObject
Util.newSigned16
(Ruby runtime, short value) static final IRubyObject
Util.newSigned32
(Ruby runtime, int value) static final IRubyObject
Util.newSigned64
(Ruby runtime, long value) static final IRubyObject
Util.newSigned8
(Ruby runtime, byte value) static RubyString
MemoryUtil.newTaintedString
(Ruby runtime, byte[] bytes) Creates a ruby string from a byte arraystatic final IRubyObject
Util.newUnsigned16
(Ruby runtime, short value) static final IRubyObject
Util.newUnsigned32
(Ruby runtime, int value) static final IRubyObject
Util.newUnsigned64
(Ruby runtime, long value) static final IRubyObject
Util.newUnsigned8
(Ruby runtime, byte value) abstract AbstractMemory
final AbstractMemory
final AbstractMemory
static ByteOrder
Util.parseByteOrder
(Ruby runtime, IRubyObject byte_order) protected abstract AbstractMemory
protected abstract AbstractMemory
protected AbstractMemory
protected AbstractMemory
protected AbstractMemory
protected AbstractMemory
abstract MemoryIO
Factory.wrapDirectMemory
(Ruby runtime, long address) Wraps a native C memory address in aMemoryIO
accessor.NoImplFactory.wrapDirectMemory
(Ruby runtime, long address) Constructors in org.jruby.ext.ffi with parameters of type RubyModifierConstructorDescriptionprotected
AbstractInvoker
(Ruby runtime, RubyClass klass, int arity, MemoryIO io) Creates a newAbstractInvoker
instance.protected
AbstractMemory
(Ruby runtime, RubyClass klass, MemoryIO io, long size) protected
AbstractMemory
(Ruby runtime, RubyClass klass, MemoryIO io, long size, int typeSize) Initializes a newType.Array
instance.Initializes a newType.Array
instance.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 newCallbackInfo
instance.FreedMemoryIO
(Ruby runtime) FunctionField
(Ruby runtime, RubyClass klass) InnerStructField
(Ruby runtime, RubyClass klass) InvalidMemoryIO
(Ruby runtime, boolean isDirect, long address, String message) protected
MemoryObject
(Ruby runtime, RubyClass metaClass) MemoryPointer
(Ruby runtime, RubyClass klass) NullMemoryIO
(Ruby runtime) NumberField
(Ruby runtime, RubyClass klass) protected
protected
protected
PointerField
(Ruby runtime, RubyClass klass) Creates a newStructLayout
instance.protected
Type
(Ruby runtime, RubyClass klass, NativeType type) Initializes a newType
instance.protected
Type
(Ruby runtime, RubyClass klass, NativeType type, int size, int alignment) Initializes a newType
instance. -
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 aMemoryIO
accessor.Factory.allocateDirectMemory
(Ruby runtime, int size, int align, boolean clear) Allocates memory on the native C heap and wraps it in aMemoryIO
accessor.Factory.allocateTransientDirectMemory
(Ruby runtime, int size, int align, boolean clear) static final DynamicMethod
MethodFactory.createDynamicMethod
(Ruby runtime, RubyModule module, com.kenai.jffi.Function function, Type returnType, Type[] parameterTypes, com.kenai.jffi.CallingConvention convention, IRubyObject enums, boolean ignoreErrno) final NativeCallbackFactory
CallbackManager.getCallbackFactory
(Ruby runtime, CallbackInfo cbInfo) void
Factory.init
(Ruby runtime, RubyModule FFI) static IRubyObject
JITRuntime.newBoolean
(Ruby runtime, int value) static IRubyObject
JITRuntime.newBoolean
(Ruby runtime, long value) static IRubyObject
JITRuntime.newFloat32
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.newFloat32
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newFloat64
(Ruby runtime, long value) Deprecated.Factory.newFunction
(Ruby runtime, Pointer address, CallbackInfo cbInfo) static IRubyObject
Deprecated.static IRubyObject
Deprecated.static IRubyObject
JITRuntime.newPointer32
(Ruby runtime, int address) static IRubyObject
JITRuntime.newPointer32
(Ruby runtime, long address) static IRubyObject
JITRuntime.newPointer64
(Ruby runtime, long address) static IRubyObject
JITRuntime.newSigned16
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.newSigned16
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newSigned32
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.newSigned32
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newSigned64
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newSigned8
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.newSigned8
(Ruby runtime, long value) Deprecated.static IRubyObject
static IRubyObject
static IRubyObject
JITRuntime.newUnsigned16
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.newUnsigned16
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newUnsigned32
(Ruby runtime, int value) static IRubyObject
JITRuntime.newUnsigned32
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newUnsigned64
(Ruby runtime, long value) Deprecated.static IRubyObject
JITRuntime.newUnsigned8
(Ruby runtime, int value) Deprecated.static IRubyObject
JITRuntime.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 TypeMethodDescriptionvoid
void
void
static void
CoreExt.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 void
void
Constructors 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 String
RbConfigLibrary.getArchDir
(Ruby runtime) static String
static String
RbConfigLibrary.getNormalizedHome
(Ruby runtime) static String
RbConfigLibrary.getRubyArchDir
(Ruby runtime) static String
RbConfigLibrary.getRubygemsDir
(Ruby runtime) static String
RbConfigLibrary.getRubyLibDir
(Ruby runtime) static String
RbConfigLibrary.getRubyLibDirFor
(Ruby runtime, String runtimeVerStr) static String
RbConfigLibrary.getRubySharedLibDir
(Ruby runtime) static String
RbConfigLibrary.getRuntimeVerStr
(Ruby runtime) static String
RbConfigLibrary.getSiteArchDir
(Ruby runtime) static String
RbConfigLibrary.getSiteDir
(Ruby runtime) static String
RbConfigLibrary.getSiteDirGeneral
(Ruby runtime) static String
RbConfigLibrary.getSiteLibDir
(Ruby runtime) static String
RbConfigLibrary.getSysConfDir
(Ruby runtime) static String
RbConfigLibrary.getVendorArchDir
(Ruby runtime) static String
RbConfigLibrary.getVendorDir
(Ruby runtime) static String
RbConfigLibrary.getVendorDirGeneral
(Ruby runtime) static String
RbConfigLibrary.getVendorLibDir
(Ruby runtime) static Boolean
RbConfigLibrary.isSiteVendorSame
(Ruby runtime) void
Just 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 void
RubySet.addImpl
(Ruby runtime, IRubyObject obj) Deprecated.static void
void
protected final void
RubySet.modifyCheck
(Ruby runtime) Deprecated.static RubySet
Construct a new Set.static RubySet
Construct 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 IRubyObject
RubyUDPSocket.doReceive
(RubyBasicSocket socket, Ruby runtime, boolean non_block, int length, RubyBasicSocket.ReceiveTuple tuple) protected void
protected void
protected ChannelFD
RubyServerSocket.initChannelFD
(Ruby runtime) protected ChannelFD
RubySocket.initChannelFD
(Ruby runtime) protected void
RubySocket.initFromServer
(Ruby runtime, RubySocket serverSocket, SocketChannel socketChannel) void
protected static ChannelFD
RubyBasicSocket.newChannelFD
(Ruby runtime, Channel channel) protected static void
RubyUNIXSocket.rb_sys_fail
(Ruby runtime, String message) static RuntimeException
Deprecated.static RuntimeException
static RuntimeException
SocketUtils.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) protected
SizedQueue
(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 GlobalVariable
GlobalVariable.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 MethodHandle
InvokeDynamicMethodFactory.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 void
IRRuntimeHelpers.aliasGlobalVariable
(Ruby runtime, Object newName, Object oldName) static IRScope
IRRuntimeHelpers.decodeScopeFromBytes
(Ruby runtime, byte[] scopeBytes, String filename) static final ByteList
IRRuntimeHelpers.newByteListFromRaw
(Ruby runtime, String str, String encoding) static IRubyObject
static boolean
IRRuntimeHelpers.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 Ruby
LiteralValueBootstrap.runtime
(ThreadContext context, MutableCallSite site) Methods in org.jruby.ir.targets.indy with parameters of type RubyModifier and TypeMethodDescriptionstatic IRubyObject
JavaBootstrap.bignumOrNil
(Ruby runtime, BigInteger bi) static IRubyObject
JavaBootstrap.booleanOrNil
(Ruby runtime, Boolean b) static IRubyObject
JavaBootstrap.fixnumOrNil
(Ruby runtime, Byte b) static IRubyObject
JavaBootstrap.fixnumOrNil
(Ruby runtime, Character c) static IRubyObject
JavaBootstrap.fixnumOrNil
(Ruby runtime, Integer i) static IRubyObject
JavaBootstrap.fixnumOrNil
(Ruby runtime, Long l) static IRubyObject
JavaBootstrap.fixnumOrNil
(Ruby runtime, Short s) static IRubyObject
JavaBootstrap.floatOrNil
(Ruby runtime, Double d) static IRubyObject
JavaBootstrap.floatOrNil
(Ruby runtime, Float f) static IRubyObject
JavaBootstrap.stringOrNil
(Ruby runtime, CharSequence cs) static IRubyObject
JavaBootstrap.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 Class
RealClassGenerator.createOldStyleImplClass
(Class[] superTypes, RubyClass rubyClass, Ruby ruby, String name, ClassDefiningClassLoader classLoader) static Class
RealClassGenerator.createRealImplClass
(Class superClass, Class<?>[] interfaces, RubyClass rubyClass, Ruby ruby, String name) static Class
RealClassGenerator.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 Class
RealClassGenerator.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 JavaCallable
CallableSelector.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 JavaCallable
CallableSelector.matchingCallableArityN
(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject[] args) Deprecated.static ParameterTypes
CallableSelector.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 JavaCallable
CallableSelector.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 JavaCallable
CallableSelector.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 JavaCallable
CallableSelector.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 JavaCallable
ConstructorInvoker.createCallable
(Ruby ruby, Member member) protected final JavaCallable
MethodInvoker.createCallable
(Ruby runtime, Member member) protected abstract T
RubyToJavaInvoker.createCallable
(Ruby runtime, Member member) protected final IRubyObject
FieldMethodZero.handleGetException
(Ruby runtime, IllegalAccessException ex) protected final IRubyObject
FieldMethodOne.handleSetException
(Ruby runtime, IllegalAccessException ex) protected final IRubyObject
FieldMethodOne.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 int
ConcreteJavaProxy.findSuperLine
(Ruby runtime, DynamicMethod dm, int start) static ArrayJavaProxy
Deprecated.ArrayJavaProxy.setValue
(Ruby runtime, int index, IRubyObject value) static void
ConcreteJavaProxy.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 IRubyObject
ArrayUtils.arefDirect
(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index) static IRubyObject
ArrayUtils.asetDirect
(Ruby runtime, Object array, JavaUtil.JavaConverter javaConverter, int index, IRubyObject value) static ArrayJavaProxy
ArrayUtils.newProxiedArray
(Ruby runtime, Class<?> componentType, int size) Deprecated.static ArrayJavaProxy
ArrayUtils.newProxiedArray
(Ruby runtime, Class<?> componentType, JavaUtil.JavaConverter converter, int size) Deprecated.static void
ArrayUtils.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 Ruby
JavaEmbedUtils.initialize
(List<String> loadPaths) Get an instance of a JRuby runtime.static Ruby
JavaEmbedUtils.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 IRubyObject
Java.constructProxy
(Ruby runtime, Constructor<? extends IRubyObject> proxyConstructor, RubyClass clazz) abstract IRubyObject
static Object
JavaUtil.convertArgument
(Ruby runtime, Object argument, Class<?> parameterType) Deprecated.static IRubyObject
JavaUtil.convertJavaArrayElementToRuby
(Ruby runtime, JavaUtil.JavaConverter converter, Object array, int i) static IRubyObject[]
JavaUtil.convertJavaArrayToRuby
(Ruby runtime, Object[] objects) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, boolean b) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, double d) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, float f) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, int i) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, long l) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, Object object) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, Object object, Class javaClass) static IRubyObject
JavaUtil.convertJavaToRuby
(Ruby runtime, JavaUtil.JavaConverter converter, Object object) Deprecated.static IRubyObject
JavaUtil.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 IRubyObject
JavaUtil.convertJavaToUsableRubyObjectWithConverter
(Ruby runtime, Object object, JavaUtil.JavaConverter converter) static IRubyObject[]
JavaUtil.convertStringArrayToRuby
(Ruby runtime, String[] strings, JavaUtil.StringConverter converter) static JavaConstructor
JavaConstructor.create
(Ruby runtime, Constructor<?> constructor) Deprecated.static JavaMethod
Deprecated.static JavaMethod
static JavaMethod
JavaMethod.createDeclared
(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) Deprecated.static RubyClass
JavaObject.createJavaObjectClass
(Ruby runtime, RubyClass Object, RubyModule javaModule) Deprecated.static JavaProxyClass
JavaSupportImpl.fetchJavaProxyClass
(Ruby runtime, JavaSupportImpl.ProxyClassKey classKey) static JavaClass
JavaClass.forNameQuiet
(Ruby runtime, String className) Deprecated.static JavaClass
JavaClass.forNameVerbose
(Ruby runtime, String className) Deprecated.static int
Java.JCreateMethod.forTypes
(Ruby runtime, IRubyObject[] args, Java.JCtorCache cache) Disambiguate which ctor index to call from the given cachestatic JavaClass
Deprecated.abstract IRubyObject
static RubyModule
Java.get_interface_module
(Ruby runtime, IRubyObject java_class) Deprecated.static IRubyObject
Java.getInstance
(Ruby runtime, Object rawJavaObject) Same as Java#getInstance(runtime, rawJavaObject, false).static IRubyObject
Java.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 RubyModule
Java.getInterfaceModule
(Ruby runtime, Class javaClass) Deprecated.static RubyModule
Java.getInterfaceModule
(Ruby runtime, JavaClass javaClass) Deprecated.static Class
Java.getJavaClass
(Ruby runtime, String className) Deprecated.static Class
Java.getJavaClass
(Ruby runtime, String className, boolean initialize) Deprecated.static RubyModule
Java.getJavaPackageModule
(Ruby runtime, Package pkg) static RubyModule
Java.getJavaPackageModule
(Ruby runtime, String packageString) Deprecated.static JavaCallable
JavaClass.getMatchingCallable
(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) Deprecated.static JavaConstructor
JavaConstructor.getMatchingConstructor
(Ruby runtime, Class<?> javaClass, Class<?>[] argumentTypes) static JavaMethod
JavaMethod.getMatchingDeclaredMethod
(Ruby runtime, Class<?> javaClass, String methodName, Class<?>[] argumentTypes) static RubyModule
Java.getProxyClass
(Ruby runtime, Class<?> clazz) Deprecated.static RubyModule
Java.getProxyClass
(Ruby runtime, JavaClass javaClass) Deprecated.static RubyClass
Java.getProxyClassForObject
(Ruby runtime, Object object) Deprecated.static Constructor
<? extends IRubyObject> Java.getRealClassConstructor
(Ruby runtime, Class<? extends IRubyObject> proxyImplClass) static RubyArray
JavaClass.getRubyArray
(Ruby runtime, Class<?>[] classes) Deprecated.static <T> T
JavaEmbedUtils.invokeMethod
(Ruby runtime, Object receiver, String method, Object[] args, Class<T> returnType) Convenience function for embeddersstatic IRubyObject
JavaUtil.java_to_ruby
(Ruby runtime, IRubyObject object) Deprecated.static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, boolean value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, byte value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, char value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, double value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, float value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, int value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, long value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, short value) static IRubyObject
JavaEmbedUtils.javaToRuby
(Ruby runtime, Object value) Convert a java object to a Ruby object.void
static Class
Java.loadJavaClass
(Ruby runtime, String className) Deprecated.static RaiseException
JavaMethod.newArgSizeMismatchError
(Ruby runtime, Class... argTypes) static RaiseException
JavaMethod.newMethodNotFoundError
(Ruby runtime, Class target, String prettyName, String simpleName) Deprecated.static RubyModule
Java.resolveType
(Ruby runtime, IRubyObject type) Deprecated.static <T> T
JavaEmbedUtils.rubyToJava
(Ruby runtime, IRubyObject value, Class<T> type) static JavaProxyClass
JavaSupportImpl.saveJavaProxyClass
(Ruby runtime, JavaSupportImpl.ProxyClassKey classKey, JavaProxyClass klass) abstract void
JavaUtil.JavaConverter.set
(Ruby runtime, Object array, int i, IRubyObject value) void
JavaUtil.StringConverter.set
(Ruby runtime, Object array, int i, IRubyObject value) static RubyModule
Java.setProxyClass
(Ruby runtime, RubyModule target, String constName, Class<?> javaClass) Deprecated.static void
Dispose of the runtime you initialized.static IRubyObject
Deprecated.static RubyArray
JavaClass.toRubyArray
(Ruby runtime, Class<?>[] classes) Deprecated.static IRubyObject
JavaUtil.trySimpleConversions
(Ruby runtime, Object object) static JavaObject
JavaUtil.unwrapJavaObject
(Ruby runtime, IRubyObject convertee, String errorMessage) Deprecated.static Object
JavaUtil.unwrapJavaValue
(Ruby runtime, IRubyObject object, String errorMessage) Deprecated.static IRubyObject
Java.wrap
(Ruby runtime, IRubyObject java_object) Deprecated.static JavaObject
Deprecated.static IRubyObject
Java.wrapJavaObject
(Ruby runtime, Object object) Deprecated.Constructors in org.jruby.javasupport with parameters of type RubyModifierConstructorDescriptionprotected
InterpretedEvalUnit
(Ruby runtime, Node node) Deprecated.protected
InterpretedEvalUnit
(Ruby runtime, ParseResult result) Deprecated.Deprecated.Deprecated.JavaMethod
(Ruby runtime, Method method) protected
JavaObject
(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 RubyModule
Initializer.setupProxyClass
(Ruby runtime, Class<?> javaClass, RubyClass proxy) Deprecated.static RubyModule
Initializer.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 void
JavaExtensions.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 JavaProxyClass
JavaProxyClass.getProxyClass
(Ruby runtime, RubyClass clazz) Deprecated.static RaiseException
JavaProxyConstructor.mapInstantiationException
(Ruby runtime, Throwable e) final Object
JavaProxyConstructor.newInstance
(Object[] args, Ruby runtime, IRubyObject clazz) final IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, Object[] args) final IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, IRubyObject arg0) final IRubyObject
JavaProxyConstructor.newInstance
(Ruby runtime, IRubyObject self, IRubyObject[] args) static RuntimeException
JavaProxyConstructor.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 RubyHash
RuntimeHelpers.constructHash
(Ruby runtime, IRubyObject key, IRubyObject value) Deprecated.static RubyHash
RuntimeHelpers.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 TypeMethodDescriptionvoid
LexingCommon.checkRegexpFragment
(Ruby runtime, ByteList value, RegexpOptions options) void
LexingCommon.checkRegexpSyntax
(Ruby runtime, ByteList value, RegexpOptions options) void
LexingCommon.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 Ruby
CheckpointMain.prepareRuntime
(RubyInstanceConfig config, String[] args) protected Ruby
DripMain.prepareRuntime
(RubyInstanceConfig config, String[] args) protected Ruby
PrebootMain.prepareRuntime
(RubyInstanceConfig config, String[] args) Methods in org.jruby.main with parameters of type RubyModifier and TypeMethodDescriptionprotected void
CheckpointMain.endPreboot
(RubyInstanceConfig config, Ruby ruby, String[] args) protected void
DripMain.endPreboot
(RubyInstanceConfig config, Ruby ruby, String[] args) protected void
PrebootMain.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 Ruby
GlobalVariable.runtime
final Ruby
ThreadContext.runtime
Fields in org.jruby.runtime with type parameters of type RubyMethods in org.jruby.runtime that return RubyModifier and TypeMethodDescriptionfinal Ruby
ThreadContext.getRuntime()
Retrieve the runtime associated with this context.Methods in org.jruby.runtime with parameters of type RubyModifier and TypeMethodDescriptionstatic int
Helpers.addBufferLength
(Ruby runtime, int base, int extra) Deprecated.static RubySymbol
Helpers.addInstanceMethod
(RubyModule containingClass, String name, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubySymbol
Helpers.addInstanceMethod
(RubyModule containingClass, RubySymbol symbol, DynamicMethod method, Visibility visibility, ThreadContext context, Ruby runtime) Deprecated.static RubyArray
Helpers.argumentDescriptorsToParameters
(Ruby runtime, ArgumentDescriptor[] argsDesc, boolean isLambda) Deprecated.static RubyArray
Helpers.arrayValue
(ThreadContext context, Ruby runtime, IRubyObject value) Deprecated.static IRubyObject
Helpers.breakLocalJumpError
(Ruby runtime, IRubyObject value) static int
Helpers.calculateBufferLength
(Ruby runtime, int length) Same asHelpers.calculateBufferLength(int)
but raises a Ruby ArgumentError.static int
Arity.checkArgumentCount
(Ruby runtime, int length, int min, int max) Deprecated.static int
Arity.checkArgumentCount
(Ruby runtime, int length, int min, int max, boolean hasKwargs) Deprecated.static int
Arity.checkArgumentCount
(Ruby runtime, String name, int length, int min, int max) Deprecated.static int
Arity.checkArgumentCount
(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static int
Arity.checkArgumentCount
(Ruby runtime, String name, IRubyObject[] args, int min, int max) Deprecated.static int
Arity.checkArgumentCount
(Ruby runtime, IRubyObject[] args, int min, int max) Deprecated.void
Arity.checkArity
(Ruby runtime, int length) void
Arity.checkArity
(Ruby runtime, IRubyObject[] args) void
Signature.checkArity
(Ruby runtime, IRubyObject[] args) Deprecated.static RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1) static RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2) static RubyHash
Helpers.constructHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, boolean prepareString1, IRubyObject key2, IRubyObject value2, boolean prepareString2, IRubyObject key3, IRubyObject value3, boolean prepareString3) static RubyHash
Helpers.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 RubyHash
Helpers.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 RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine) static RubyArray
Helpers.constructRubyArray
(Ruby runtime, IRubyObject one, IRubyObject two, IRubyObject three, IRubyObject four, IRubyObject five, IRubyObject six, IRubyObject seven, IRubyObject eight, IRubyObject nine, IRubyObject ten) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4) static RubyHash
Helpers.constructSmallHash
(Ruby runtime, IRubyObject key1, IRubyObject value1, IRubyObject key2, IRubyObject value2, IRubyObject key3, IRubyObject value3, IRubyObject key4, IRubyObject value4, IRubyObject key5, IRubyObject value5) static RubyArray
Helpers.createSubarray
(IRubyObject[] input, Ruby runtime, int start) static RubyArray
Helpers.createSubarray
(IRubyObject[] input, Ruby runtime, int start, int exclude) static ArgumentDescriptor[]
Translate encoded String of argument descriptors back into an ArgumentDescriptor liststatic String
Helpers.decodeByteList
(Ruby runtime, ByteList value) Decode a given ByteList to a Java string.static RubyArray
Helpers.ensureRubyArray
(Ruby runtime, IRubyObject value) Deprecated.static void
Helpers.fillNil
(IRubyObject[] arr, int from, int to, Ruby runtime) Deprecated.static void
Helpers.fillNil
(IRubyObject[] arr, Ruby runtime) Deprecated.static IRubyObject
Helpers.getBackref
(Ruby runtime, ThreadContext context) Deprecated.static Block
Helpers.getBlock
(Ruby runtime, ThreadContext context, IRubyObject self, Node node, Block aBlock) static Block
Helpers.getBlockFromBlockPassBody
(Ruby runtime, IRubyObject proc, Block currentBlock) static IRubyObject
Helpers.getErrorInfo
(Ruby runtime) Deprecated.final DynamicScope
Binding.getEvalScope
(Ruby runtime) static IRubyObject
Helpers.getGlobalVariable
(Ruby runtime, String name) static IRubyObject
Helpers.getInstanceVariable
(IRubyObject self, Ruby runtime, String internedName) static IRubyObject
Helpers.getLastLine
(Ruby runtime, ThreadContext context) static RubyClass
Helpers.getSingletonClass
(Ruby runtime, IRubyObject receiver) Deprecated.static RubyModule
Helpers.getSuperClassForDefined
(Ruby runtime, RubyModule klazz) Deprecated.static void
Helpers.handleArgumentSizes
(ThreadContext context, Ruby runtime, int given, int required, int opt, int rest) static long
static String
Helpers.javaStringFromPath
(Ruby runtime, IRubyObject loadPathEntry) default void
ObjectMarshal.marshalTo
(Ruby runtime, T obj, RubyClass type, MarshalStream marshalStream) Deprecated, for removal: This API element is subject to removal in a future version.static IRubyObject
Helpers.methodToParameters
(Ruby runtime, AbstractRubyMethod recv) Deprecated.static int
Helpers.multiplyBufferLength
(Ruby runtime, int base, int multiplier) Deprecated.static IRubyObject
Helpers.negate
(IRubyObject value, Ruby runtime) static ThreadContext
ThreadContext.newContext
(Ruby runtime) static Throwable
Helpers.newErrorFromException
(Ruby runtime, Throwable t) Simplified form of Ruby#newErrorFromException with no default function.static Throwable
Return a Ruby-friendly Throwable for a given Throwable.static RaiseException
Helpers.newIOErrorFromException
(Ruby runtime, IOException ex) Construct an appropriate error (which may ultimately not be an IOError) for a given IOException.static RaiseException
Helpers.newLocalJumpErrorForBreak
(Ruby runtime, IRubyObject breakValue) static IRubyObject[]
Helpers.nilledArray
(int length, Ruby runtime) Return a nil-filled IRubyObject array of the specified length.static IRubyObject
Helpers.nullToNil
(IRubyObject value, Ruby runtime) Deprecated.static ArgumentDescriptor[]
Helpers.parameterListToArgumentDescriptors
(Ruby runtime, String[] parameterList, boolean isLambda) Deprecated.static Visibility
Helpers.performNormalMethodChecksAndDetermineVisibility
(Ruby runtime, RubyModule clazz, RubySymbol symbol, Visibility visibility) Deprecated.static void
Arity.raiseArgumentError
(Ruby runtime, int length, int min, int max) Deprecated.static void
Arity.raiseArgumentError
(Ruby runtime, int length, int min, int max, boolean hasKwargs) Deprecated.static void
Arity.raiseArgumentError
(Ruby runtime, String name, int length, int min, int max) Deprecated.static void
Arity.raiseArgumentError
(Ruby runtime, String name, int length, int min, int max, boolean hasKwargs) static void
Arity.raiseArgumentError
(Ruby runtime, IRubyObject[] args, int min, int max) Deprecated.static void
Helpers.registerEndBlock
(Block block, Ruby runtime) Deprecated.static void
Helpers.rewriteStackTrace
(Ruby runtime, Throwable e) Deprecated.static IRubyObject[]
Arity.scanArgs
(Ruby runtime, IRubyObject[] args, int required, int optional) Deprecated.static IRubyObject
Helpers.setBackref
(Ruby runtime, ThreadContext context, IRubyObject value) Deprecated.static void
Helpers.setErrorInfo
(Ruby runtime, IRubyObject error) Deprecated.static IRubyObject
Helpers.setGlobalVariable
(IRubyObject value, Ruby runtime, String name) static IRubyObject
Helpers.setLastLine
(Ruby runtime, ThreadContext context, IRubyObject value) static RubyArray
Helpers.subarrayOrEmpty
(RubyArray array, Ruby runtime, int index) Deprecated.static RubyArray
Helpers.subarrayOrEmpty
(RubyArray array, Ruby runtime, int index, int post) Deprecated.static void
Helpers.throwErrorFromException
(Ruby runtime, Throwable t) Throw an appropriate Ruby-friendly error or exception for a given Java exception.final RubyArray
ArgumentDescriptor.toArrayForm
(Ruby runtime, boolean isLambda) Deprecated.ArgumentType.toArrayForm
(Ruby runtime, RubySymbol name) Deprecated.default T
ObjectMarshal.unmarshalFrom
(Ruby runtime, RubyClass type, UnmarshalStream unmarshalStream) Deprecated, for removal: This API element is subject to removal in a future version.static int
Helpers.validateBufferLength
(Ruby runtime, long length) static IRubyObject
Helpers.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 IRubyObject
TraceType.generateMRIBacktrace
(Ruby runtime, RubyStackTraceElement[] trace) final RubyStackTraceElement[]
BacktraceData.getBacktrace
(Ruby runtime) final RubyStackTraceElement[]
BacktraceData.getPartialBacktrace
(Ruby runtime, int level) static void
TraceType.logBacktrace
(Ruby runtime, RubyStackTraceElement[] trace) static String
TraceType.printBacktraceJRuby
(Ruby runtime, RubyStackTraceElement[] frames, String type, String message, boolean color) final void
BacktraceData.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.Encoding
EncodingService.getFileSystemEncoding
(Ruby runtime) Deprecated.org.jcodings.Encoding
EncodingService.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 TypeMethodDescriptionboolean
void
void
void
Deprecated.void
void
void
void
static IRScope
CompiledScriptLoader.loadScriptFromFile
(Ruby runtime, InputStream inStream, File resourcePath, String resourceName, boolean isAbsolute) static void
LoadService.reflectedLoad
(Ruby runtime, String libraryName, String className, ClassLoader classLoader, boolean wrap) Load the org.jruby.runtime.load.Library implementation specified by className.protected boolean
LoadService.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 Ruby
UnmarshalStream.runtime
Deprecated, 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 RubyClass
UnmarshalStream.getClassFromPath
(Ruby runtime, String path) Deprecated, for removal: This API element is subject to removal in a future version.static RubyModule
UnmarshalStream.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 Invalidator
OptoFactory.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.DefaultMethodEnhancer
BuiltinProfilingService.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 void
RegexpSupport.appendRegexpString
(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) static void
RegexpSupport.appendRegexpString19
(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) Deprecated.static void
StringSupport.asciiOnlyCaseMap
(Ruby runtime, ByteList value, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static Process
ShellLauncher.buildProcess
(Ruby runtime, String[] args, String[] env, File pwd) static RubyInteger
ConvertBytes.byteListToInum
(Ruby runtime, ByteList str, int base, boolean badcheck) static IRubyObject
ConvertBytes.byteListToInum
(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception) rb_cstr_to_inumstatic RubyInteger
ConvertBytes.byteListToInum
(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static ByteList
StringSupport.caseMap
(Ruby runtime, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static RubyString
RubyStringBuilder.cat
(Ruby runtime, RubyString buf, byte[] bytes) static RubyString
RubyStringBuilder.cat
(Ruby runtime, RubyString buf, int b) static RubyString
RubyStringBuilder.cat
(Ruby runtime, RubyString str, String value) static RubyString
RubyStringBuilder.cat
(Ruby runtime, RubyString buf, ByteList bytes) static String
ShellLauncher.changeDirInsideJar
(Ruby runtime, String arg) static IRubyObject
TypeConverter.checkArrayType
(Ruby runtime, IRubyObject obj) static int
StringSupport.checkCaseMapOptions
(Ruby runtime, IRubyObject arg0, int flags) Deprecated.static int
StringSupport.checkCaseMapOptions
(Ruby runtime, IRubyObject arg0, IRubyObject arg1, int flags) Deprecated.static void
SecurityHelper.checkCryptoRestrictions
(Ruby runtime) static RubyString
StringSupport.checkEmbeddedNulls
(Ruby runtime, IRubyObject ptr) Deprecated.static IRubyObject
TypeConverter.checkFloatType
(Ruby runtime, IRubyObject obj) static IRubyObject
TypeConverter.checkHashType
(Ruby runtime, IRubyObject obj) static IRubyObject
TypeConverter.checkHashType
(Ruby runtime, IRubyObject obj, boolean raise) static RubySymbol
Deprecated.static void
StringSupport.checkStringSafety
(Ruby runtime, IRubyObject value) Check whether input object's string value contains a null byte, and if so throw ArgumentError.static void
StringSupport.checkStringSafetyMBC
(Ruby runtime, RubyString value) static IRubyObject
TypeConverter.checkStringType
(Ruby runtime, IRubyObject obj) static IRubyObject
TypeConverter.checkToInteger
(Ruby runtime, IRubyObject obj, String method) Deprecated.static int
Deprecated.static int
Deprecated.static FileResource
static FileResource
URLResource.createClassloaderURI
(Ruby runtime, String pathname, boolean asFile) static FileResource
JRubyFile.createResource
(Ruby runtime, String pathname) static FileResource
JRubyFile.createResource
(Ruby runtime, String cwd, String pathname) static FileResource
JRubyFile.createResourceAsFile
(Ruby runtime, String pathname) static void
Pack.decode
(ThreadContext context, Ruby runtime, ByteBuffer encode, int occurrences, RubyArray result, Block block, Pack.Converter converter) Deprecated.static SymbolNameType
IdUtil.determineSymbolNameType
(Ruby runtime, ByteList data) static ByteList
StringSupport.dumpCommon
(Ruby runtime, ByteList bytelist) rb_str_dumpstatic ByteList
StringSupport.dumpCommon
(Ruby runtime, ByteList byteList, boolean quoteOnlyIfNeeded) static int
ByteListHelper.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 int
ShellLauncher.execAndWait
(Ruby runtime, IRubyObject[] rawArgs) static int
ShellLauncher.execAndWait
(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) static File
ShellLauncher.findPathExecutable
(Ruby runtime, String fname) static File
ShellLauncher.findPathExecutable
(Ruby runtime, String fname, IRubyObject pathObject) Deprecated.static RegexpOptions
RegexpOptions.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 URL
URLResource.getResourceURL
(Ruby runtime, String location) OSEnvironment.getSystemPropertiesMap
(Ruby runtime) static IRubyObject
TypeConverter.handleUncoercibleObject
(Ruby runtime, IRubyObject obj, RubyClass target, boolean raise) static RubyString
static RubyString
RubyStringBuilder.ids
(Ruby runtime, IRubyObject object) Convert object to proper Ruby String representation of an id.static RubyString
RubyStringBuilder.inspectIdentifierByteList
(Ruby runtime, ByteList byteList) static IRubyObject
TypeConverter.ioCheckIO
(Ruby runtime, IRubyObject obj) static RubyIO
TypeConverter.ioGetIO
(Ruby runtime, IRubyObject obj) static String
ClasspathLauncher.jrubyCommand
(Ruby runtime) static boolean
StringSupport.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 RaiseException
ResourceException.newRaiseException
(Ruby runtime) static RaiseException
TypeConverter.newTypeError
(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RaiseException
TypeConverter.newTypeErrorMismatch
(Ruby runtime, IRubyObject obj, RubyClass target, String methodName, IRubyObject val) static RubyString
Deprecated.static RubyString
Pack.pack
(ThreadContext context, Ruby runtime, RubyArray list, RubyString formatString) Deprecated.static ShellLauncher.POpenProcess
ShellLauncher.popen
(Ruby runtime, IRubyObject[] strings, Map env, IOOptions modes) Deprecated.static ShellLauncher.POpenProcess
ShellLauncher.popen
(Ruby runtime, IRubyObject[] strings, Map env, ModeFlags modes) static ShellLauncher.POpenProcess
ShellLauncher.popen
(Ruby runtime, IRubyObject string, Map env, ModeFlags modes) static ShellLauncher.POpenProcess
ShellLauncher.popen
(Ruby runtime, IRubyObject string, IOOptions modes) Deprecated.static ShellLauncher.POpenProcess
ShellLauncher.popen
(Ruby runtime, IRubyObject string, ModeFlags modes) static ShellLauncher.POpenProcess
ShellLauncher.popen3
(Ruby runtime, IRubyObject[] strings) Deprecated.static ShellLauncher.POpenProcess
ShellLauncher.popen3
(Ruby runtime, IRubyObject[] strings, boolean addShell) Deprecated.static ByteList
RegexpSupport.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 int
RegexpSupport.raisePreprocessError
(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static void
RegexpSupport.raiseRegexpError
(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) static void
RegexpSupport.raiseRegexpError19
(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) Deprecated.protected static int
IOChannel.read
(Ruby runtime, IRubyObject io, FunctionalCachingCallSite read, ByteBuffer dst) static int
RegexpSupport.readEscapedByte
(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) static ByteList
RegexpSupport.regexpDescription
(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) static ByteList
RegexpSupport.regexpDescription19
(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) Deprecated.static void
StringSupport.replaceInternal19
(Ruby runtime, int beg, int len, RubyString source, RubyString repl) Deprecated.static Process
ShellLauncher.run
(Ruby runtime, Map env, String dir, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static Process
ShellLauncher.run
(Ruby runtime, IRubyObject string) static Process
ShellLauncher.run
(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch) static Process
ShellLauncher.run
(Ruby runtime, IRubyObject[] rawArgs, boolean doExecutableSearch, boolean forceExternalProcess) static int
ShellLauncher.runAndWait
(Ruby runtime, IRubyObject[] rawArgs) static int
ShellLauncher.runAndWait
(Ruby runtime, IRubyObject[] rawArgs, OutputStream output) static int
ShellLauncher.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 long
ShellLauncher.runExternal
(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args, boolean wait) static int
ShellLauncher.runExternalAndWait
(Ruby runtime, IRubyObject[] rawArgs, Map mergeEnv) static long
ShellLauncher.runExternalWithoutWait
(Ruby runtime, IRubyObject[] rawArgs) static long
ShellLauncher.runExternalWithoutWait
(Ruby runtime, IRubyObject env, IRubyObject prog, IRubyObject options, IRubyObject args) static long
ShellLauncher.runWithoutWait
(Ruby runtime, IRubyObject[] rawArgs) org.jcodings.Encoding
Calculate the encoding based on kcode option set via 'nesu'.static boolean
Sprintf.sprintf
(Ruby runtime, ByteList to, CharSequence format, int arg) static boolean
Sprintf.sprintf
(Ruby runtime, ByteList to, CharSequence format, long arg) static String
RubyStringBuilder.str
(Ruby runtime, String message, IRubyObject value) static String
RubyStringBuilder.str
(Ruby runtime, String messageBegin, IRubyObject value, String messageEnd) static String
RubyStringBuilder.str
(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, RubyString value2, String messageMiddle2, IRubyObject value3, String messageMiddle3, RubyString value4, String messageEnd) static String
RubyStringBuilder.str
(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2) static String
RubyStringBuilder.str
(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2, String messageEnd) static String
RubyStringBuilder.str
(Ruby runtime, String messageBegin, IRubyObject value, String messageMiddle, IRubyObject value2, String messageMiddle2, IRubyObject value3, String messageEnd) static String
RubyStringBuilder.str
(Ruby runtime, IRubyObject value, String message) static String
RubyStringBuilder.str
(Ruby runtime, IRubyObject value, String message, IRubyObject value2) static String
RubyStringBuilder.str
(Ruby runtime, IRubyObject value, String message, IRubyObject value2, String message2) static int
StringSupport.strCount
(ByteList str, Ruby runtime, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static CodeRangeable
StringSupport.strDeleteBang
(CodeRangeable rubyString, Ruby runtime, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static void
StringSupport.strUpdate
(Ruby runtime, int beg, int len, RubyString source, RubyString repl) Deprecated.static StringSupport.NeighborChar
static ByteList
StringSupport.succCommon
(Ruby runtime, ByteList original) Deprecated.static Map
<RubyString, RubyString> OSEnvironment.systemPropertiesMap
(Ruby runtime) Returns java system properties as a Map<RubyString,RubyString>.static RubyFloat
TypeConverter.toFloat
(Ruby runtime, IRubyObject obj) static int
StringSupport.trNext
(StringSupport.TR tr, Ruby runtime, org.jcodings.Encoding enc) static StringSupport.TrTables
StringSupport.trSetupTable
(ByteList str, Ruby runtime, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) Deprecated.static CodeRangeable
StringSupport.trTransHelper
(Ruby runtime, CodeRangeable self, CodeRangeable srcStr, CodeRangeable replStr, boolean sflag) Deprecated.static RubyString
RubyStringBuilder.types
(Ruby runtime, RubyModule type) static RubyString
RubyStringBuilder.types
(Ruby runtime, RubyModule type1, RubyModule type2) static boolean
RegexpSupport.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 RubyArray
Deprecated.static RubyArray
Pack.unpackWithBlock
(ThreadContext context, Ruby runtime, ByteList encodedString, ByteList formatString, Block block) Deprecated.static int
Pack.utf8Decode
(Ruby runtime, byte[] to, int p, int code) rb_uv_to_utf8protected static int
IOChannel.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 void
StringArraySet.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 InetAddress
Sockaddr.addressFromString
(Ruby runtime, String s) void
OpenFile.ascii8bitBinmode
(Ruby runtime) static org.jcodings.Encoding
EncodingUtils.ascii8bitEncoding
(Ruby runtime) void
OpenFile.checkReopenSeek
(ThreadContext context, Ruby runtime, long pos) void
static org.jcodings.Encoding
EncodingUtils.defaultExternalEncoding
(Ruby runtime) static int
EncodingUtils.encCodepointLength
(Ruby runtime, byte[] pBytes, int p, int e, int[] len_p, org.jcodings.Encoding enc) Deprecated.static int
EncodingUtils.encCrStrBufCat
(Ruby runtime, CodeRangeable str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding ptrEnc, int ptr_cr) static int
EncodingUtils.encCrStrBufCat
(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, byte[] ptrBytes) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, byte[] ptrBytes, int ptr, int len, org.jcodings.Encoding enc) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, byte[] ptrBytes, org.jcodings.Encoding enc) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, CharSequence cseq) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, ByteList ptr) static void
EncodingUtils.encStrBufCat
(Ruby runtime, RubyString str, ByteList ptr, org.jcodings.Encoding enc) static void
EncodingUtils.extractBinmode
(Ruby runtime, IRubyObject optionsArg, int[] fmode_p) Deprecated.void
static jnr.constants.platform.AddressFamily
Sockaddr.getAddressFamilyFromSockaddr
(Ruby runtime, ByteList val) Deprecated.OpenFile.getModeAsString
(Ruby runtime) Deprecated.static int
ModeFlags.getOFlagsFromString
(Ruby runtime, String modesString) void
OpenFile.incrementLineno
(Ruby runtime) Deprecated.void
OpenFile.incrementLineno
(Ruby runtime, RubyIO io) org.jcodings.Encoding
OpenFile.inputEncoding
(Ruby runtime) static RubyString
EncodingUtils.ioEncStr
(Ruby runtime, RubyString str, OpenFile fptr) static IRubyObject
EncodingUtils.ioEncStr
(Ruby runtime, IRubyObject str, OpenFile fptr) static int
OpenFile.ioModestrFmode
(Ruby runtime, String modestr) Deprecated.static int
OpenFile.ioModestrOflags
(Ruby runtime, String modestr) Deprecated.static String
OpenFile.ioOflagsModestr
(Ruby runtime, int oflags) Deprecated.static RaiseException
EncodingUtils.makeEconvException
(Ruby runtime, org.jcodings.transcode.EConv ec) Deprecated.static boolean
PopenExecutor.nativePopenAvailable
(Ruby runtime) Check properties and runtime state to determine whether a native popen is possible.static RubyString
EncodingUtils.newExternalStringWithEncoding
(Ruby runtime, String string, org.jcodings.Encoding encoding) static RubyString
EncodingUtils.newExternalStringWithEncoding
(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static IRubyObject[]
EncodingUtils.openArgsToArgs
(Ruby runtime, IRubyObject firstElement, RubyHash options) Deprecated.static Selector
SelectorFactory.openWithRetryFrom
(Ruby runtime, SelectorProvider provider) static void
EncodingUtils.rbStrBufCat
(Ruby runtime, RubyString str, ByteList ptr) static void
EncodingUtils.rbStrBufCat
(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static void
EncodingUtils.rbStrBufCat
(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) static RubyString
EncodingUtils.rbStrEscape
(Ruby runtime, RubyString str) Deprecated.org.jcodings.Encoding
OpenFile.readEncoding
(Ruby runtime) boolean
OpenFile.ready
(Ruby runtime, RubyThread thread, int ops, long timeout) Wait until the channel is available for the given operations or the timeout expires.void
void
OpenFile.setBlocking
(Ruby runtime, boolean blocking) void
OpenFile.setNonblock
(Ruby runtime) static RubyString
EncodingUtils.setStrBuf
(Ruby runtime, IRubyObject obj, int len) static SocketAddress
Sockaddr.sockaddrFromBytes
(Ruby runtime, byte[] val) Deprecated.static void
EncodingUtils.strBufCat
(Ruby runtime, RubyString str, ByteList ptr) static void
EncodingUtils.strBufCat
(Ruby runtime, ByteListHolder str, byte[] ptrBytes, int ptr, int len) static String
Sockaddr.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.