| Package | Description | 
|---|---|
| org.jruby.embed.internal | |
| org.jruby.embed.variable | 
| Modifier and Type | Method and Description | 
|---|---|
| BiVariable | BiVariableMap. getVariable(RubyObject receiver,
           String name)Returns the value in BiVariable type to which the specified key is mapped,
 or  nullif this map contains no mapping for the key. | 
| BiVariable | BiVariableMap. getVariable(String name)Returns the value in BiVariable type to which the specified key is mapped,
 or  nullif this map contains no mapping for the key. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<BiVariable> | BiVariableMap. getVariables()Returns a list of all values in this map. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BiVariableMap. setVariable(BiVariable var) | 
| void | BiVariableMap. setVariable(RubyObject receiver,
           BiVariable var) | 
| void | BiVariableMap. update(String name,
      BiVariable value)Adds a key-value pair of Ruby local variable to double array. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BiVariableMap. updateVariable(RubyObject receiver,
              String name,
              IRubyObject value,
              Class<? extends BiVariable> type) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Argv | 
| class  | ClassVariableAn implementation of BiVariable for a Ruby class variable. | 
| class  | ConstantAn implementation of BiVariable for a Ruby constant. | 
| class  | GlobalVariableAn implementation of BiVariable for a Ruby global variable. | 
| class  | InstanceVariableAn implementation of BiVariable for a Ruby instance variable. | 
| class  | LocalGlobalVariableAn implementation of BiVariable for JSR223 style global variable. | 
| class  | PersistentLocalVariableAn implementation of BiVariable for a persistent local variable. | 
| class  | TransientLocalVariableAn implementation of BiVariable for a transient local variable. | 
| Modifier and Type | Method and Description | 
|---|---|
| static BiVariable | TransientLocalVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | PersistentLocalVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | LocalGlobalVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | InstanceVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | GlobalVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | Constant. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | ClassVariable. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | Argv. getInstance(RubyObject receiver,
           String name,
           Object... javaObject)Returns an instance of this class. | 
| static BiVariable | VariableInterceptor. getVariableInstance(LocalVariableBehavior behavior,
                   RubyObject receiver,
                   String name,
                   Object... value)Returns an appropriate type of a variable instance to the specified local
 variable behavior. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | VariableInterceptor. terminateGlobalVariables(LocalVariableBehavior behavior,
                        Collection<BiVariable> variables,
                        Ruby runtime)Clears global variable values from Ruby runtime to behave the same as
 JSR 223 reference implementation. | 
| static void | VariableInterceptor. terminateLocalVariables(LocalVariableBehavior behavior,
                       List<String> varNames,
                       List<BiVariable> variables)Clears local variables form the variable map so that old local variable
 name-value pairs are not to be used in successive evaluations. | 
Copyright © 2001-2015 JRuby. All Rights Reserved.