public enum EvalType extends Enum<EvalType>
| Enum Constant and Description |
|---|
BINDING_EVAL |
INSTANCE_EVAL |
MODULE_EVAL |
NONE |
| Modifier and Type | Method and Description |
|---|---|
static EvalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EvalType NONE
public static final EvalType BINDING_EVAL
public static final EvalType INSTANCE_EVAL
public static final EvalType MODULE_EVAL
public static EvalType[] values()
for (EvalType c : EvalType.values()) System.out.println(c);
public static EvalType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2001-2016 JRuby. All Rights Reserved.