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