class Mu::Message

Defined in:

message.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mu::Object

call(*args) call, clone(val : Mu::Type = nil) clone, getSlot(name : String) getSlot, setSlot(name : String, val : Mu::Object) setSlot, to_s to_s, type : String type, value : Array(Mu::Object) | Bool | Float64 | Hash(String, Mu::Object) | Mu::Object | Mu::Message -> Mu::Method | -> Nil | String | Nil value

Constructor methods inherited from class Mu::Object

new(proto : Mu::Object | Nil = nil, value : Mu::Type = nil, type : String = "Object") new

Constructor Detail

def self.new(name : String) #

[View source]

Instance Method Detail

def call(receiver : Object, context = receiver) #

[View source]
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.


[View source]