| Modifier and Type | Field and Description |
|---|---|
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static BiVariable | Returns: the instance of TransientLocalVariablereceiver object returned when a script is evaluated. receiver, String a variable name name, Object... Java object that should be assigned to. javaObject)Returns an instance of this class. |
| public BiVariable. | Returns: this enum type, BiVariable.Type.LocalVariable.Implements org. Returns enum type of this variable defined in |
| public void | inject()
Implements org. Injects a local variable value to a parsed Ruby script. |
| public static boolean | Returns: true if the given name is of a Ruby local variable.is a name to be checked. name)Returns true if the given name is a decent Ruby local variable. |
| public void | remove()
Implements org. Attempts to remove this variable from top self or receiver. |
| public static void | retrieve(RubyObject
receiver object returned when a script is evaluated. receiver, BiVariableMap map to save retrieved local variables. vars)Doesn't do anything since a transient local variable should not be retrieved from Ruby. |
| VALID_NAME | back to summary |
|---|---|
| private static final String VALID_NAME | |
| TransientLocalVariable | back to summary |
|---|---|
| private TransientLocalVariable(RubyObject receiver, String name, Object... javaObjects) | |
| getInstance | back to summary |
|---|---|
| public static BiVariable getInstance(RubyObject receiver, String name, Object... javaObject) Returns an instance of this class. This factory method is used when a
transient local variable is put in
| |
| getType | back to summary |
|---|---|
| public BiVariable. Implements org. Returns enum type of this variable defined in
| |
| inject | back to summary |
|---|---|
| public void inject() Implements org. Injects a local variable value to a parsed Ruby script. This method is invoked during EvalUnit#run() is executed.
| |
| isValidName | back to summary |
|---|---|
| public static boolean isValidName(Object name) Returns true if the given name is a decent Ruby local variable. Unless returns false.
| |
| remove | back to summary |
|---|---|
| public void remove() Implements org. Attempts to remove this variable from top self or receiver.
| |
| retrieve | back to summary |
|---|---|
| public static void retrieve(RubyObject receiver, BiVariableMap vars) Doesn't do anything since a transient local variable should not be retrieved from Ruby.
| |