class PheltObject::Array
- PheltObject::Array
- Reference
- Object
Defined in:
object/object.crConstant Summary
-
TYPE =
"array"
Constructors
Instance Method Summary
- #elements : ::Array(Object)
- #elements=(elements : ::Array(Object))
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #type
Constructor Detail
def self.new(elements : ::Array(PheltObject::Array | PheltObject::Boolean | PheltObject::Break | PheltObject::Builtin | PheltObject::Error | PheltObject::Float | PheltObject::Function | PheltObject::Hash | PheltObject::Integer | PheltObject::Null | PheltObject::Return | PheltObject::String))
#
Instance Method Detail
def inspect
#
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
.