org.jruby.internal.runtime.methods
Class CallbackMethod

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

public class CallbackMethod
extends AbstractMethod

Version:
$Revision: 1.4 $
Author:
jpetersen

Constructor Summary
CallbackMethod(Callback callback, Visibility visibility)
           
 
Method Summary
 IRubyObject call(Ruby ruby, IRubyObject receiver, java.lang.String name, IRubyObject[] args, boolean noSuper)
           
 ICallable dup()
           
 Arity getArity()
           
 Callback getCallback()
           
 
Methods inherited from class org.jruby.internal.runtime.methods.AbstractMethod
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

CallbackMethod

public CallbackMethod(Callback callback,
                      Visibility visibility)
Method Detail

call

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

getCallback

public Callback getCallback()

getArity

public Arity getArity()
Specified by:
getArity in interface ICallable
Overrides:
getArity in class AbstractMethod

dup

public ICallable dup()


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.