abstract class Monkey::Object::Object

Direct Known Subclasses

Defined in:

monkey/object/object.cr

Instance Method Summary

Instance Method Detail

abstract def inspect : ::String #
Description copied from class Object

Returns an unambiguous and information-rich string representation of this object, typically intended for developers.

This method should usually not be overridden. It delegates to #inspect(IO) which can be overridden for custom implementations.

Also see #to_s.


[View source]
abstract def type : ObjectType #

[View source]