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.crConstructors
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. - #boolean? : Bool
-
#hash(hasher)
See
Object#hash(hasher) - #inspect(io)
- #inspected : String
- #not_false? : Bool
- #simplified_value(max_length : Int32) : String
- #truthy? : Bool
- #value : T
Instance methods inherited from class Microtest::PowerAssert::Value
boolean? : Bool
boolean?,
inspected : String
inspected,
not_false? : Bool
not_false?,
simplified_value(max_length : Int32) : String
simplified_value,
truthy? : Bool
truthy?
Constructor Detail
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true if this reference is the same as other. Invokes same?.