class Spec2::Matchers::Close(T, E)

Included Modules

Defined in:

matchers/close.cr

Constructors

Instance Method Summary

Instance methods inherited from module Spec2::Matcher

description description, failure_message failure_message, failure_message_when_negated failure_message_when_negated, match(actual) match

Constructor Detail

def self.new(expected : T, delta : E) #

[View source]

Instance Method Detail

def actual_delta : T | E | Nil #

[View source]
def actual_delta? : T | E | Nil | Nil #

[View source]
def actual_representation : String | Nil #

[View source]
def delta #

[View source]
def description #

[View source]
def expected #

[View source]
def failure_message #

[View source]
def failure_message_when_negated #

[View source]
def match(actual) #

[View source]