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