Class: Sinclair::Matchers::AddMethodTo Abstract Private

Inherits:
Base
  • Object
show all
Includes:
MethodTo
Defined in:
lib/sinclair/matchers/add_method_to.rb

Overview

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

This class is abstract.

Base class for add_method_to matcher

Author:

  • darthjee

Direct Known Subclasses

AddClassMethodTo, AddInstanceMethodTo

Method Summary

Methods included from MethodTo

#failure_message, #failure_message_when_negated, #matches?

Methods inherited from Base

#equal?, #initialize, #supports_block_expectations?

Constructor Details

This class inherits a constructor from Sinclair::Matchers::Base