Class: Lookout::Expected::TrueClass
- Defined in:
- lib/lookout-3.0/expected/trueclass.rb
Overview
Represents expected TrueClasses (of which ‘true` is the only instance).
Instance Method Summary collapse
-
#difference(actual) ⇒ Difference::Object
A difference report between ACTUAL and #expected unless ACTUAL is truthful.
Methods inherited from Object
Instance Method Details
#difference(actual) ⇒ Difference::Object
Returns A difference report between ACTUAL and #expected unless ACTUAL is truthful.
8 |
# File 'lib/lookout-3.0/expected/trueclass.rb', line 8 def difference(actual) super((not not actual)) end |