Uses of Class
org.jruby.RubyProc
Packages that use RubyProc
Package
Description
-
Uses of RubyProc in org.jruby
Modifier and TypeMethodDescriptionRubyGenerator.getProc()
static RubyProc
RubyKernel.lambda
(ThreadContext context, IRubyObject recv, Block block) Ruby.newBlockPassProc
(Block.Type type, Block block) Ruby.newProc
(Block.Type type, Block block) 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 RubyProc
RubyKernel.proc
(ThreadContext context, IRubyObject recv, Block block) static RubyProc
RubyKernel.proc_1_9
(ThreadContext context, IRubyObject recv, Block block) Deprecated.RubyProc.to_proc()
Modifier and TypeMethodDescriptionvoid
Ruby.pushEndBlock
(RubyProc proc) It is possible for looping or repeated execution to encounter the same END block multiple times.Ruby.pushExitBlock
(RubyProc proc) Push block onto exit stack.void
Ruby.setTraceFunction
(RubyProc traceFunction) Deprecated.void
Ruby.setTraceFunction
(TraceEventManager.CallTraceFuncHook hook, RubyProc traceFunction) Deprecated. -
Uses of RubyProc in org.jruby.api
Methods in org.jruby.api that return RubyProcModifier and TypeMethodDescriptionstatic RubyProc
Convert.castAsProc
(ThreadContext context, IRubyObject newValue) Cast the given value to a RubyProc with most basic typeError thrown if the value is not a RubyProc.static RubyProc
Convert.castAsProc
(ThreadContext context, IRubyObject newValue, String message) Cast the given value to a RubyProc with most basic typeError thrown if the value is not a RubyProc. -
Uses of RubyProc in org.jruby.internal.runtime
Methods in org.jruby.internal.runtime with parameters of type RubyProcModifier and TypeMethodDescriptionvoid
void
GlobalVariables.setTraceVar
(String name, RubyProc proc) -
Uses of RubyProc in org.jruby.internal.runtime.methods
Methods in org.jruby.internal.runtime.methods that return RubyProcConstructors in org.jruby.internal.runtime.methods with parameters of type RubyProcModifierConstructorDescriptionProcMethod
(RubyModule implementationClass, RubyProc proc, Visibility visibility, String name) Constructor for ProcMethod. -
Uses of RubyProc in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return RubyProcModifier and TypeMethodDescriptionstatic RubyProc
IRRuntimeHelpers.newLambdaProc
(ThreadContext context, Block block) static RubyProc
IRRuntimeHelpers.newSymbolProc
(ThreadContext context, RubySymbol symbol) Create a new Symbol.to_proc for the given symbol name and encoding.static RubyProc
IRRuntimeHelpers.newSymbolProc
(ThreadContext context, ByteList value) Create a new Symbol.to_proc for the given symbol name and encoding. -
Uses of RubyProc in org.jruby.java.proxies
Methods in org.jruby.java.proxies that return RubyProc -
Uses of RubyProc in org.jruby.runtime
Methods in org.jruby.runtime that return RubyProcModifier and TypeMethodDescriptionBlock.getProcObject()
Retrieve the proc object associated with this blockstatic RubyProc
Helpers.newLiteralLambda
(ThreadContext context, Block block, IRubyObject self) Methods in org.jruby.runtime with parameters of type RubyProcModifier and TypeMethodDescriptionvoid
Block.setProcObject
(RubyProc procObject) Set the proc object associated with this blockvoid
TraceEventManager.CallTraceFuncHook.setTraceFunc
(RubyProc traceFunc) void
TraceEventManager.setTraceFunction
(RubyProc traceFunction) void
TraceEventManager.setTraceFunction
(TraceEventManager.CallTraceFuncHook hook, RubyProc traceFunction)