Top Methods
org.jruby.runtime.builtin

public Interface Variable<BaseObjectType>

Known Direct Implementers
org.jruby.runtime.component.VariableEntry

Method Summary

Modifier and TypeMethod and Description
public String
public BaseObjectType
public boolean
public boolean
public boolean
public boolean

Returns:

true if the variable is an instance variable, class variable, or constant, else false
isRubyVariable
()

Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.

Method Detail

getNameback to summary
public String getName()
getValueback to summary
public BaseObjectType getValue()
isClassVariableback to summary
public boolean isClassVariable()
isConstantback to summary
public boolean isConstant()
isInstanceVariableback to summary
public boolean isInstanceVariable()
isRubyVariableback to summary
public boolean isRubyVariable()

Returns true if the variable is an instance variable, class variable, or constant; otherwise, false.

Returns:boolean

true if the variable is an instance variable, class variable, or constant, else false