Myst::Require
Inherits Myst::Node / Reference / Object
A require expression. Requires are the primary mechanism for loading code from other source files. Files will only be loaded once. If another require appears that references the same file, it will not be loaded again. The result of a require statement will be a boolean indicating whether the code was loaded.
'require' string
Constructors
new(path : Node)
SourceInstance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
accept_children(visitor)
Sourcehash(hasher)
See Object#hash(hasher)
path
Sourcepath=(path : Node)
Source