Module: EvilEvents::Core::System::Mocking::ClassMethods Private

Defined in:
lib/evil_events/core/system/mocking.rb

Overview

This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Instance Method Summary collapse

Instance Method Details

#build_mockEvilEvents::Core::System::Mock

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

Since:

  • 0.1.0



21
22
23
# File 'lib/evil_events/core/system/mocking.rb', line 21

def build_mock
  Mock.new
end

#build_stubEvilEvents::Core::System

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

Since:

  • 0.1.0



28
29
30
# File 'lib/evil_events/core/system/mocking.rb', line 28

def build_stub
  new
end