org.jruby
Class RubyProc

java.lang.Object
  extended byorg.jruby.RubyObject
      extended byorg.jruby.RubyProc
All Implemented Interfaces:
java.lang.Cloneable, IRubyObject

public class RubyProc
extends RubyObject

Version:
$Revision: 1.6 $
Author:
jpetersen

Field Summary
 
Fields inherited from class org.jruby.RubyObject
runtime
 
Fields inherited from interface org.jruby.runtime.builtin.IRubyObject
NULL_ARRAY
 
Constructor Summary
RubyProc(Ruby ruby, RubyClass rubyClass)
           
 
Method Summary
 RubyFixnum arity()
           
 IRubyObject call(IRubyObject[] args)
           
 IRubyObject call(IRubyObject[] args, IRubyObject self)
           
static RubyClass createProcClass(Ruby ruby)
           
 Block getBlock()
           
 RubyModule getWrapper()
           
static RubyProc newInstance(IRubyObject receiver, IRubyObject[] args)
           
static RubyProc newProc(Ruby ruby)
           
 
Methods inherited from class org.jruby.RubyObject
argCount, asSymbol, callbackFactory, callInit, callMethod, callMethod, callMethod, checkSafeString, convertToString, convertToType, convertType, createObjectClass, defineSingletonMethod, display, dup, equal, equals, eval, eval, evalUnder, extend, extendObject, freeze, frozen, getInstanceVariable, getInstanceVariables, getJavaClass, getMetaClass, getRuntime, getSingletonClass, getType, hash, hashCode, hasInstanceVariable, id, infectBy, inspect, instance_eval, instance_of, instance_variables, instanceVariableNames, isFalse, isFrozen, isKindOf, isNil, isTaint, isTrue, kind_of, makeMetaClass, marshalTo, method_missing, method, methods, nilObject, private_methods, protected_methods, rbClone, removeInstanceVariable, respond_to, respondsTo, send, setFrozen, setInstanceVariable, setInstanceVariable, setInstanceVariables, setMetaClass, setTaint, setupClone, singleton_methods, singletonMethodsAllowed, specificEval, taint, tainted, to_a, to_s, toString, type, untaint
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RubyProc

public RubyProc(Ruby ruby,
                RubyClass rubyClass)
Method Detail

createProcClass

public static RubyClass createProcClass(Ruby ruby)

getBlock

public Block getBlock()

getWrapper

public RubyModule getWrapper()

newInstance

public static RubyProc newInstance(IRubyObject receiver,
                                   IRubyObject[] args)

newProc

public static RubyProc newProc(Ruby ruby)

call

public IRubyObject call(IRubyObject[] args)

call

public IRubyObject call(IRubyObject[] args,
                        IRubyObject self)

arity

public RubyFixnum arity()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.