public class RubyConstant extends Object
Constructor and Description |
---|
RubyConstant(RubyModule declaringModule,
Object value,
boolean isPrivate) |
Modifier and Type | Method and Description |
---|---|
Object |
getValue() |
boolean |
isPrivate() |
boolean |
isVisibleTo(RubyContext context,
LexicalScope lexicalScope,
RubyModule module) |
void |
setPrivate(boolean isPrivate) |
public RubyConstant(RubyModule declaringModule, Object value, boolean isPrivate)
public Object getValue()
public boolean isPrivate()
public void setPrivate(boolean isPrivate)
public boolean isVisibleTo(RubyContext context, LexicalScope lexicalScope, RubyModule module)
Copyright © 2001-2015 JRuby. All Rights Reserved.