Class: Lookout::Expected::Lookout::Actual::Not::Method
- Defined in:
- lib/lookout-3.0/expected/lookout/actual/not/method.rb
Overview
Represents expected Actual::Not::Methods.
Instance Method Summary collapse
-
#difference(actual) ⇒ Difference::Lookout::Actual::Not::Method?
A difference report between ACTUAL and #expected unless invoking #expected on ACTUAL returns false.
Methods inherited from Object
Instance Method Details
#difference(actual) ⇒ Difference::Lookout::Actual::Not::Method?
A difference report between ACTUAL and #expected unless invoking #expected on ACTUAL returns false
9 10 11 12 |
# File 'lib/lookout-3.0/expected/lookout/actual/not/method.rb', line 9 def difference(actual) Lookout::Difference::Lookout::Actual::Not::Method.new(actual, expected) if expected.call(actual) end |