Class: TrueTest::NegativeAssertion

Inherits:
Assertion
  • Object
show all
Defined in:
lib/true_test/assertion.rb

Instance Method Summary collapse

Methods inherited from Assertion

#description, #error, #evaluate, #passed?

Constructor Details

#initialize(description = nil, &block) ⇒ NegativeAssertion

Returns a new instance of NegativeAssertion.



39
40
41
# File 'lib/true_test/assertion.rb', line 39

def initialize(description = nil, &block)
  super(description, false, &block)
end