org.jruby
Class Ruby.CallTraceFuncHook

java.lang.Object
  extended by org.jruby.runtime.EventHook
      extended by org.jruby.Ruby.CallTraceFuncHook
Enclosing class:
Ruby

public class Ruby.CallTraceFuncHook
extends EventHook


Constructor Summary
Ruby.CallTraceFuncHook()
           
 
Method Summary
 void eventHandler(ThreadContext context, java.lang.String eventName, java.lang.String file, int line, java.lang.String name, IRubyObject type)
           
 boolean isInterestedInEvent(RubyEvent event)
           
 void setTraceFunc(RubyProc traceFunc)
           
 
Methods inherited from class org.jruby.runtime.EventHook
event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ruby.CallTraceFuncHook

public Ruby.CallTraceFuncHook()
Method Detail

setTraceFunc

public void setTraceFunc(RubyProc traceFunc)

eventHandler

public void eventHandler(ThreadContext context,
                         java.lang.String eventName,
                         java.lang.String file,
                         int line,
                         java.lang.String name,
                         IRubyObject type)
Specified by:
eventHandler in class EventHook

isInterestedInEvent

public boolean isInterestedInEvent(RubyEvent event)
Specified by:
isInterestedInEvent in class EventHook


Copyright © 2002-2009 JRuby Team. All Rights Reserved.