Class: Spec::Expectations::Should::NotHave

Inherits:
Have show all
Defined in:
lib/spec/expectations/should/have.rb

Instance Method Summary collapse

Methods inherited from Have

#init_collection_handler, #initialize, #method_missing

Constructor Details

This class inherits a constructor from Spec::Expectations::Should::Have

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Spec::Expectations::Should::Have

Instance Method Details

#init_item_handler(target) ⇒ Object



31
32
33
# File 'lib/spec/expectations/should/have.rb', line 31

def init_item_handler(target)
  @item_handler = NegativeItemHandler.new(target)
end