Package | Description |
---|---|
org.jruby | |
org.jruby.cext | |
org.jruby.internal.runtime | |
org.jruby.internal.runtime.methods | |
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) |
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() |
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 |
---|---|
static RubyProc |
JRuby.getBlockProc(Ruby runtime)
rb_block_proc
|
Modifier and Type | Method and Description |
---|---|
void |
GlobalVariable.addTrace(RubyProc command) |
void |
GlobalVariables.setTraceVar(String name,
RubyProc proc) |
Constructor and Description |
---|
ProcMethod(RubyModule implementationClass,
RubyProc proc,
Visibility visibility)
Constructor for ProcMethod.
|
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-2013 JRuby. All Rights Reserved.