class RSpec::SleepingKingStudios::Matchers::Core::AliasMethodMatcher

Matcher for testing whether an object aliases a specified method using the specified other method name.

@since 2.2.0

Public Instance Methods

matches?(actual) click to toggle source

(see BaseMatcher#matches?)

# File lib/rspec/sleeping_king_studios/matchers/core/alias_method_matcher.rb, line 13
def matches?(actual)
  SleepingKingStudios::Tools::CoreTools.deprecate(
    'AliasMethodMatcher',
    message: 'Use a HaveAliasedMethodMatcher instead.'
  )

  super
end