class Objects::MClosure

Defined in:

objects.cr

Constructors

Instance Method Summary

Instance methods inherited from class Objects::MObject

error? : Bool error?, if_not_error(& : MObject -> MObject | Nil) : MObject | Nil if_not_error, inspect : String inspect, truthy? : Bool truthy?, type_desc : String type_desc

Instance methods inherited from class Object

also(& : self | Nil -> _) : self also, or_else(alternative) or_else

Constructor Detail

def self.new(fn : MCompiledFunction, free : Array(Objects::MObject) = [] of MObject) #

[View source]

Instance Method Detail


[View source]
def free : Array(Objects::MObject) #

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