jruby/docs BETA
Navigation
org.jruby.runtime 95
I Accessor
C ArgfSites
C ArgumentDescriptor
E ArgumentType
C Arity
C Array2Sites
C ArraySites
C BasicObjectSites
C BigDecimalSites
C BignumSites
C Binding
C Block
C BlockBody
I BlockCallback
C Builtins
C CallBlock
C CallBlock19
C CallSite
C CallTraceFuncHook
E CallType
C CheckedSites
E ClassIndex
C ComparableSites
C CompiledIRBlockBody
C ComplexSites
C ConditionVariableSites
C Constants
C ContextAwareBlockBody
C Copy
C DateSites
C DigestSites
C DynamicScope
C EnumerableSites
C EventHook
I ExecutionContext
C FiberSites
C FileSites
C FixnumSites
C FloatSites
C Frame
C GlobalVariable
C HashSites
C Helpers
C HelpersSites
I IAccessor
C IOSites
C IRBlockBody
C IRRuntimeHelpersSites
C IntegerSites
C InterpretedIRBlockBody
C JavaInternalBlockBody
C JavaSites
C KernelSites
C MarshalSites
C MethodBlockBody
C MethodFactory
C MethodIndex
C MethodMissingWrapper
C MethodSites
C MixedModeIRBlockBody
C ModuleSites
C MonitorSites
C NullBlockBody
C NumericSites
I ObjectAllocator
I ObjectMarshal
C ObjectSites
C ObjectSpace
C PathnameSites
I PositionAware
C ProcSites
C ProducerSites
C RaiseExceptionSites
C RangeSites
C RationalSites
C ReadonlyGlobalVariable
I RecursiveFunctionEx
E Rest
E RubyEvent
C SetSites
C Signature
I SimpleHash
C StringSites
C StructSites
C SymbolSites
C TempfileSites
C ThreadContext
C TimeSites
C TraceEventManager
C TracePointSites
E Type
C TypeConverterSites
E Visibility
C WarningSites
C ZlibSites
ArgumentType — members 21+
F key() ArgumentType
F keyreq() ArgumentType
F keyrest() ArgumentType
F block() ArgumentType
F opt() ArgumentType
F rest() ArgumentType
F req() ArgumentType
F anonreq() ArgumentType
F anonopt() ArgumentType
F anonrest() ArgumentType
F anonkeyrest() ArgumentType
F nokey() ArgumentType
F name() String
F typeId() String
F anonymous() boolean
M anonymous_form() ArgumentType
M to_array_form(runtime, name) RubyArray
M to_array_form(context, name) RubyArray
M value_of(name) ArgumentType
M value_of(prefix) ArgumentType
M values() ArgumentType[]
from Enum
M compare_to(arg0) int
M declaring_class() Class<E>
M describe_constable() EnumDesc<E>>
M equals(arg0) boolean
M hash_code() int
M name() String
M ordinal() int
M to_string() String

org.jruby.runtime.ArgumentType

enum final 21 members

The diffierent types of arguments identified in a method.

Constants

constanttypenote
key ArgumentType
keyreq ArgumentType
keyrest ArgumentType
block ArgumentType
opt ArgumentType
rest ArgumentType
req ArgumentType
anonreq ArgumentType
anonopt ArgumentType
anonrest ArgumentType
anonkeyrest ArgumentType
nokey ArgumentType

Fields

fieldtypenote
name String
typeId String
anonymous boolean

Class Methods

value_of

ArgumentType value_of ( String name )
Java: valueOf(String name)

value_of

ArgumentType value_of ( char prefix )
Java: valueOf(char prefix)

values

ArgumentType[] values ( )
Java: values()

Instance Methods

anonymous_form

ArgumentType anonymous_form ( )
Java: anonymousForm()

to_array_form

RubyArray to_array_form ( Ruby runtime, RubySymbol name )
Java: toArrayForm(org.jruby.Ruby runtime, org.jruby.RubySymbol name)

to_array_form

RubyArray to_array_form ( ThreadContext context, RubySymbol name )
Java: toArrayForm(org.jruby.runtime.ThreadContext context, org.jruby.RubySymbol name)

Inherited

from Enum

compare_to

int compare_to ( E arg0 )
Java: compareTo(E arg0)

declaring_class

Class<E> declaring_class ( )
Java: getDeclaringClass() · also: get_declaring_class

describe_constable

Optional<Enum.EnumDesc<E>> describe_constable ( )
Java: describeConstable()

equals

boolean equals ( Object arg0 )
Java: equals(Object arg0)

hash_code

int hash_code ( )
Java: hashCode()

name

String name ( )
Java: name()

ordinal

int ordinal ( )
Java: ordinal()

to_string

String to_string ( )
Java: toString()