Class: Mocks::Observer
Instance Attribute Summary
Attributes inherited from Mock
Instance Method Summary collapse
Methods inherited from Mock
#initialize, #mock_add, #mock_args, #mock_calls_array, #mock_clear, #mock_freeze, #mock_recall, #mock_size
Methods included from Abstract
Constructor Details
This class inherits a constructor from Mocks::Mock
Instance Method Details
#update(*args, &block) ⇒ Object
11 12 13 |
# File 'lib/mocks/observer.rb', line 11 def update ( *args, &block ) mock_add MethodCall.new(:update, *args, &block) end |