class

Myst::MagicConst

Inherits Myst::Node / Reference / Object

A constant defined by the interpreter. MagicConsts are often used for meta-programming or tooling for libraries to better support end users. All MagicConsts are written in SCREAMING_CASE, and are surrounded by double underscores (__).

FILE | LINE | DIR

Constructors

new(type : Symbol)
Source

Instance methods

==(other : self)

Returns true if this reference is the same as other. Invokes same?.

file
Source
hash(hasher)

See Object#hash(hasher)

line
Source
type
Source
type=(type : Symbol)
Source