Class: FTest::Assert::Assertion::Refutation

Inherits:
FTest::Assert::Assertion show all
Defined in:
lib/ftest/assert/assertion.rb

Instance Attribute Summary

Attributes inherited from FTest::Assert::Assertion

#fails, #passes, #source

Instance Method Summary collapse

Methods inherited from FTest::Assert::Assertion

#call, #failed?, #file, #freeze, #initialize, #line, #passed?, #perform_checks, #resolve_check, #subject, #subject_thunk, #to_error, #trace

Constructor Details

This class inherits a constructor from FTest::Assert::Assertion

Instance Method Details

#build_checksObject



85
86
87
# File 'lib/ftest/assert/assertion.rb', line 85

def build_checks
  super.each &:negate
end