Class: TrueTest::PositiveAssertion
- Defined in:
- lib/true_test/assertion.rb
Instance Method Summary collapse
-
#initialize(description = nil, &block) ⇒ PositiveAssertion
constructor
A new instance of PositiveAssertion.
Methods inherited from Assertion
#description, #error, #evaluate, #passed?
Constructor Details
#initialize(description = nil, &block) ⇒ PositiveAssertion
Returns a new instance of PositiveAssertion.
33 34 35 |
# File 'lib/true_test/assertion.rb', line 33 def initialize(description = nil, &block) super(description, true, &block) end |