Package | Description |
---|---|
org.jruby | |
org.jruby.internal.runtime |
Modifier and Type | Method and Description |
---|---|
void |
Ruby.defineReadonlyVariable(java.lang.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(java.lang.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(java.lang.String name,
IAccessor accessor,
GlobalVariable.Scope scope) |
void |
GlobalVariables.defineReadonly(java.lang.String name,
IAccessor accessor,
GlobalVariable.Scope scope) |
Constructor and Description |
---|
GlobalVariable(IAccessor accessor,
GlobalVariable.Scope scope) |
Copyright © 2001-2018 JRuby. All Rights Reserved.