| Package | Description |
|---|---|
| org.jruby | |
| org.jruby.internal.runtime |
| Modifier and Type | Method and Description |
|---|---|
void |
Ruby.defineReadonlyVariable(String name,
IRubyObject value,
GlobalVariable.Scope scope)
defines a readonly global variable
|
void |
Ruby.defineVariable(GlobalVariable variable,
GlobalVariable.Scope scope)
Defines a global variable
|
| Modifier and Type | Method and Description |
|---|---|
GlobalVariable.Scope |
GlobalVariable.getScope() |
static GlobalVariable.Scope |
GlobalVariable.Scope.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GlobalVariable.Scope[] |
GlobalVariable.Scope.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GlobalVariables.define(String name,
IAccessor accessor,
GlobalVariable.Scope scope) |
void |
GlobalVariables.defineReadonly(String name,
IAccessor accessor,
GlobalVariable.Scope scope) |
| Constructor and Description |
|---|
GlobalVariable(IAccessor accessor,
GlobalVariable.Scope scope) |
Copyright © 2001-2015 JRuby. All Rights Reserved.