Class: Mocks::MethodLogger
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
#log(*args, &block) ⇒ Object
11 12 13 |
# File 'lib/mocks/method_logger.rb', line 11 def log ( *args, &block ) mock_add MethodCall.new(*args, &block) end |