Class: Peck::Should::Specification

Inherits:
Proxy show all
Defined in:
lib/peck/expectations.rb

Instance Attribute Summary

Attributes inherited from Proxy

#block, #context, #negated

Instance Method Summary collapse

Methods inherited from Proxy

#initialize

Constructor Details

This class inherits a constructor from Peck::Should::Proxy

Instance Method Details

#notObject



19
20
21
22
# File 'lib/peck/expectations.rb', line 19

def not
  @negated = !@negated
  self
end