class Mu::Object
- Mu::Object
- Reference
- Object
Direct Known Subclasses
Defined in:
object.crConstructors
Instance Method Summary
- #call(*args)
- #clone(val : Mu::Type = nil)
- #getSlot(name : String)
- #setSlot(name : String, val : Mu::Object)
-
#to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #type : String
- #value : Array(Mu::Object) | Bool | Float64 | Hash(String, Mu::Object) | Mu::Object | Mu::Message -> Mu::Method | -> Nil | String | Nil
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
.
def value : Array(Mu::Object) | Bool | Float64 | Hash(String, Mu::Object) | Mu::Object | Mu::Message -> Mu::Method | -> Nil | String | Nil
#