org.jruby.internal.runtime.methods
Class ProcMethod

java.lang.Object
  extended byorg.jruby.internal.runtime.methods.AbstractMethod
      extended byorg.jruby.internal.runtime.methods.ProcMethod
All Implemented Interfaces:
ICallable

public class ProcMethod
extends AbstractMethod

Version:
$Revision: 1.2 $
Author:
jpetersen

Constructor Summary
ProcMethod(RubyProc proc, Visibility visibility)
          Constructor for ProcMethod.
 
Method Summary
 IRubyObject call(Ruby ruby, IRubyObject receiver, java.lang.String name, IRubyObject[] args, boolean noSuper)
           
 ICallable dup()
           
 
Methods inherited from class org.jruby.internal.runtime.methods.AbstractMethod
getArity, getImplementationClass, getVisibility, initializeCacheEntry, isUndefined, setImplementationClass, setVisibility
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcMethod

public ProcMethod(RubyProc proc,
                  Visibility visibility)
Constructor for ProcMethod.

Parameters:
visibility -
Method Detail

call

public IRubyObject call(Ruby ruby,
                        IRubyObject receiver,
                        java.lang.String name,
                        IRubyObject[] args,
                        boolean noSuper)
See Also:
ICallable.call(Ruby, IRubyObject, String, IRubyObject[], boolean)

dup

public ICallable dup()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.