class Microtest::PowerAssert::ValueWrapper(T)

Overview

There is no "Object" class in crystal, so we have to use this wrapper

Defined in:

microtest/power_assert.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(value : T) #

[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 inspect(io) #

See performance warning in formatter


[View source]
def value : T #

[View source]