Class: Peck::Should::Specification
- Defined in:
- lib/peck/expectations.rb
Overview
A Specification is a proxy object which eventually generates a specification on the context. This is used by the should method in the context class.
Instance Attribute Summary
Attributes inherited from Proxy
Instance Method Summary collapse
Methods inherited from Proxy
Constructor Details
This class inherits a constructor from Peck::Should::Proxy
Instance Method Details
#not ⇒ Object
22 23 24 25 |
# File 'lib/peck/expectations.rb', line 22 def not @negated = !@negated self end |