class PheltObject::Builtin
- PheltObject::Builtin
- Reference
- Object
Defined in:
object/object.crConstant Summary
-
TYPE =
"builtin"
Constructors
Instance Method Summary
- #function : BuiltinFunction
- #function=(function : BuiltinFunction)
-
#inspect
Returns an unambiguous and information-rich string representation of this object, typically intended for developers.
- #type
Constructor Detail
def self.new(function : ::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), PheltObject::Environment -> 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
.