org.jruby.runtime
Interface BlockCallback

All Known Implementing Classes:
RubyEnumerable.AppendBlockCallback, RubyEnumerable.ChunkedBlockCallback

public interface BlockCallback

A simple interface for creating a callback using JRuby's block logic.


Method Summary
 IRubyObject call(ThreadContext context, IRubyObject[] args, Block block)
           
 

Method Detail

call

IRubyObject call(ThreadContext context,
                 IRubyObject[] args,
                 Block block)


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