Class: Spec::Expectations::Should::Not
- Defined in:
- lib/spec/expectations/should/not.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#initialize(target) ⇒ Not
constructor
A new instance of Not.
Methods inherited from Base
#==, #=~, #default_message, #fail_with_message, #find_supported_sym
Constructor Details
#initialize(target) ⇒ Not
Returns a new instance of Not.
6 7 8 9 |
# File 'lib/spec/expectations/should/not.rb', line 6 def initialize(target) @target = target @be_seen = false end |