public interface InstanceVariables
| Modifier and Type | Method and Description | 
|---|---|
| void | copyInstanceVariablesInto(InstanceVariables other)Copies all instance variables from the given object into the receiver | 
| IRubyObject | fastGetInstanceVariable(String internedName)Deprecated.  | 
| boolean | fastHasInstanceVariable(String internedName)Deprecated.  | 
| IRubyObject | fastSetInstanceVariable(String internedName,
                       IRubyObject value)Deprecated.  | 
| IRubyObject | getInstanceVariable(String name)Returns the named instance variable if present, else null. | 
| List<Variable<IRubyObject>> | getInstanceVariableList() | 
| List<String> | getInstanceVariableNameList() | 
| boolean | hasInstanceVariable(String name)Returns true if object has the named instance variable. | 
| IRubyObject | removeInstanceVariable(String name)Removes the named instance variable, if present, returning its
 value. | 
| IRubyObject | setInstanceVariable(String name,
                   IRubyObject value)Sets the named instance variable to the specified value. | 
boolean hasInstanceVariable(String name)
name - the name of an instance variable@Deprecated boolean fastHasInstanceVariable(String internedName)
IRubyObject getInstanceVariable(String name)
name - the name of an instance variable@Deprecated IRubyObject fastGetInstanceVariable(String internedName)
IRubyObject setInstanceVariable(String name, IRubyObject value)
name - the name of an instance variablevalue - the value to be set@Deprecated IRubyObject fastSetInstanceVariable(String internedName, IRubyObject value)
IRubyObject removeInstanceVariable(String name)
name - the name of the variable to removeList<Variable<IRubyObject>> getInstanceVariableList()
List<String> getInstanceVariableNameList()
void copyInstanceVariablesInto(InstanceVariables other)
Copyright © 2001-2015 JRuby. All Rights Reserved.