class CrystalLib::FunctionType

Defined in:

crystal_lib/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(inputs : Array(Type), output : Type) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def inputs : Array(CrystalLib::Type) #

[View source]
def inputs=(inputs : Array(CrystalLib::Type)) #

[View source]
def output : CrystalLib::Type #

[View source]
def output=(output : CrystalLib::Type) #

[View source]
def to_s(io) #

[View source]