abstract class Monkey::Object::Object
- Monkey::Object::Object
- Reference
- Object
Direct Known Subclasses
- Monkey::Object::Array
- Monkey::Object::Boolean
- Monkey::Object::Builtin
- Monkey::Object::Error
- Monkey::Object::Function
- Monkey::Object::Hash
- Monkey::Object::Integer
- Monkey::Object::Null
- Monkey::Object::ReturnValue
- Monkey::Object::String
Defined in:
monkey/object/object.crInstance Method Summary
-
#inspect : ::String
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #type : ObjectType
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
.