Method: Expected::Matchers::ExtendModuleMatcher#initialize

Defined in:
lib/expected/matchers/extend_module.rb

#initialize(expected_module) ⇒ ExtendModuleMatcher

Returns a new instance of ExtendModuleMatcher.

Parameters:

  • expected_module (Class)

    The module the #subject is expected to include



23
24
25
# File 'lib/expected/matchers/extend_module.rb', line 23

def initialize(expected_module)
  @expected_module = expected_module
end