public class GlobalVariable extends Object
| Modifier and Type | Class and Description | 
|---|---|
| static class  | GlobalVariable.Copy | 
| Modifier and Type | Field and Description | 
|---|---|
| protected String | name | 
| protected Ruby | runtime | 
| protected IRubyObject | value | 
| Constructor and Description | 
|---|
| GlobalVariable(Ruby runtime,
              String name,
              IRubyObject value) | 
| Modifier and Type | Method and Description | 
|---|---|
| IRubyObject | get() | 
| String | name() | 
| IRubyObject | set(IRubyObject value) | 
| static String | variableName(String name) | 
protected final Ruby runtime
protected final String name
protected volatile IRubyObject value
public GlobalVariable(Ruby runtime, String name, IRubyObject value)
public String name()
public IRubyObject get()
public IRubyObject set(IRubyObject value)
Copyright © 2001-2015 JRuby. All Rights Reserved.