org.jruby.runtime
Class Iter

java.lang.Object
  extended by org.jruby.runtime.Iter

public final class Iter
extends java.lang.Object

Author:
jpetersen

Field Summary
static Iter ITER_CUR
          Is currently a block
static Iter ITER_NOT
          No block given
static Iter ITER_PRE
          Block given before last method call ("previous")
 
Method Summary
 boolean isBlockGiven()
           
 boolean isCur()
           
 boolean isNot()
           
 boolean isPre()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ITER_NOT

public static final Iter ITER_NOT
No block given


ITER_PRE

public static final Iter ITER_PRE
Block given before last method call ("previous")


ITER_CUR

public static final Iter ITER_CUR
Is currently a block

Method Detail

isNot

public final boolean isNot()

isPre

public final boolean isPre()

isCur

public final boolean isCur()

isBlockGiven

public boolean isBlockGiven()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


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