class Myst::TBoolean
- Myst::TBoolean
- Myst::TPrimitive(Bool)
- Myst::Value
- Reference
- Object
Defined in:
myst/interpreter/value.crConstructors
Instance Method Summary
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #truthy? : Bool
- #type_name
Instance methods inherited from class Myst::TPrimitive(Bool)
==(other : self)
==,
hash(hasher)
hash,
to_s
to_s,
value : T
value,
value=(value : T)
value=
Constructor methods inherited from class Myst::TPrimitive(Bool)
new(value : T)
new
Instance methods inherited from class Myst::Value
ivars : Scope
ivars,
ivars=(ivars : Scope)
ivars=,
truthy?
truthy?,
type_name
type_name
Class methods inherited from class Myst::Value
from_literal(literal : Node)
from_literal
Constructor Detail
Instance Method Detail
def to_s
#
Description copied from class Object
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO)
which can be overridden for custom implementations.
Also see #inspect
.