Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime | |
org.jruby.internal.runtime.methods | |
org.jruby.ir.runtime | |
org.jruby.java.proxies | |
org.jruby.runtime |
Modifier and Type | Method and Description |
---|---|
static RubyProc |
RubyKernel.lambda(ThreadContext context,
IRubyObject recv,
Block block) |
RubyProc |
Ruby.newBlockPassProc(Block.Type type,
Block block) |
RubyProc |
Ruby.newProc(Block.Type type,
Block block) |
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,
ISourcePosition sourcePosition)
Deprecated.
|
static RubyProc |
RubyProc.newProc(Ruby runtime,
Block block,
Block.Type type,
String file,
int line) |
static RubyProc |
RubyKernel.proc_1_9(ThreadContext context,
IRubyObject recv,
Block block) |
static RubyProc |
RubyKernel.proc(ThreadContext context,
IRubyObject recv,
Block block) |
RubyProc |
RubyProc.to_proc() |
RubyProc |
RubyHash.to_proc(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
IRubyObject |
Ruby.pushExitBlock(RubyProc proc)
Push block onto exit stack.
|
void |
Ruby.CallTraceFuncHook.setTraceFunc(RubyProc traceFunc) |
void |
Ruby.setTraceFunction(RubyProc traceFunction) |
Modifier and Type | Method and Description |
---|---|
void |
GlobalVariable.addTrace(RubyProc command) |
void |
GlobalVariables.setTraceVar(String name,
RubyProc proc) |
Modifier and Type | Method and Description |
---|---|
RubyProc |
ProcMethod.getProc() |
Constructor and Description |
---|
ProcMethod(RubyModule implementationClass,
RubyProc proc,
Visibility visibility)
Constructor for ProcMethod.
|
Modifier and Type | Method and Description |
---|---|
static RubyProc |
IRRuntimeHelpers.newSymbolProc(ThreadContext context,
String symbol,
org.jcodings.Encoding encoding)
Create a new Symbol.to_proc for the given symbol name and encoding.
|
static RubyProc |
IRRuntimeHelpers.newSymbolProc(ThreadContext context,
String symbol,
String encoding)
Create a new Symbol.to_proc for the given symbol name and encoding.
|
Modifier and Type | Method and Description |
---|---|
RubyProc |
MapJavaProxy.to_proc(ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
RubyProc |
Block.getProcObject()
Retrieve the proc object associated with this block
|
static RubyProc |
Helpers.newLiteralLambda(ThreadContext context,
Block block,
IRubyObject self) |
Modifier and Type | Method and Description |
---|---|
void |
Block.setProcObject(RubyProc procObject)
Set the proc object associated with this block
|
Copyright © 2001-2016 JRuby. All Rights Reserved.