public final class GlobalVariable
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GlobalVariable.Scope |
Constructor and Description |
---|
GlobalVariable(IAccessor accessor,
GlobalVariable.Scope scope) |
Modifier and Type | Method and Description |
---|---|
void |
addTrace(RubyProc command) |
IAccessor |
getAccessor() |
Invalidator |
getInvalidator() |
GlobalVariable.Scope |
getScope() |
java.util.ArrayList |
getTraces() |
void |
invalidate() |
boolean |
isTracing() |
static GlobalVariable |
newUndefined(Ruby runtime,
java.lang.String name) |
boolean |
removeTrace(IRubyObject command) |
void |
removeTraces() |
void |
setAccessor(IAccessor accessor) |
void |
trace(IRubyObject value) |
public GlobalVariable(IAccessor accessor, GlobalVariable.Scope scope)
public static GlobalVariable newUndefined(Ruby runtime, java.lang.String name)
public IAccessor getAccessor()
public GlobalVariable.Scope getScope()
public java.util.ArrayList getTraces()
public void addTrace(RubyProc command)
public boolean removeTrace(IRubyObject command)
public void removeTraces()
public void setAccessor(IAccessor accessor)
public boolean isTracing()
public void trace(IRubyObject value)
public Invalidator getInvalidator()
public void invalidate()
Copyright © 2001-2018 JRuby. All Rights Reserved.