public final class GlobalVariable extends 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() |
ArrayList |
getTraces() |
void |
invalidate() |
boolean |
isTracing() |
static GlobalVariable |
newUndefined(Ruby runtime,
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, String name)
public IAccessor getAccessor()
public GlobalVariable.Scope getScope()
public 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-2016 JRuby. All Rights Reserved.