org.jruby
Class RubyModule.ConstantTableEntry

java.lang.Object
  extended by org.jruby.RubyModule.ConstantTableEntry
All Implemented Interfaces:
Variable<IRubyObject>
Enclosing class:
RubyModule

protected static final class RubyModule.ConstantTableEntry
extends java.lang.Object
implements Variable<IRubyObject>


Method Summary
 java.lang.String getName()
           
 IRubyObject getValue()
           
 boolean isClassVariable()
           
 boolean isConstant()
           
 boolean isInstanceVariable()
           
 boolean isRubyVariable()
          Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Variable<IRubyObject>

getValue

public IRubyObject getValue()
Specified by:
getValue in interface Variable<IRubyObject>

isClassVariable

public final boolean isClassVariable()
Specified by:
isClassVariable in interface Variable<IRubyObject>

isConstant

public final boolean isConstant()
Specified by:
isConstant in interface Variable<IRubyObject>

isInstanceVariable

public final boolean isInstanceVariable()
Specified by:
isInstanceVariable in interface Variable<IRubyObject>

isRubyVariable

public final boolean isRubyVariable()
Description copied from interface: Variable
Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.

Specified by:
isRubyVariable in interface Variable<IRubyObject>
Returns:
true if the variable is an instance variable, class variable, or constant, else false


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