org.jruby.runtime
Interface BlockCallback

All Known Implementing Classes:
RubyEnumerable.AppendBlockCallback, RubyEnumerator.ConsecutiveBlockCallback, RubyEnumerator.SlicedBlockCallback

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-2007 JRuby Team. All Rights Reserved.