A lazy mechanism for accessing VariableAccessors for a given variable name.
<init>(String name)Construct a new VariableAccessorField for the given named variable.
| name | type | description |
|---|---|---|
| name | String | the name of the variable |
getVariableAccessorForWrite(org.jruby.runtime.ivars.VariableTableManager tableMgr)Retrieve the variable access for write.
| name | type | description |
|---|---|---|
| table_mgr | org.jruby.runtime.ivars.VariableTableManager | the VariableTableManager for which to allocate an accessor, if it has not already been allocated. |
Returns: the variable accessor appropriate for writes.
getVariableAccessorForRead() · also: get_variable_accessor_for_readRetrieve the variable accessor for read.
Returns: the variable accessor appropriate for reads