Class: TrueTest::NegativeAssertion
- Defined in:
- lib/true_test/assertion.rb
Instance Method Summary collapse
-
#initialize(description = nil, &block) ⇒ NegativeAssertion
constructor
A new instance of NegativeAssertion.
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 |