class RSpec::Matchers::BuiltIn::RespondTo

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/super_diff/rspec/monkey_patches.rb, line 742
def initialize(*)
  super
  @failing_method_names = nil
end

Public Instance Methods

expected_for_description() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 760
def expected_for_description
  @names
end
expected_for_failure_message() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 764
def expected_for_failure_message
  @failing_method_names
end
matcher_text_builder_args() click to toggle source
Calls superclass method
# File lib/super_diff/rspec/monkey_patches.rb, line 751
def matcher_text_builder_args
  super.merge(
    expected_arity: @expected_arity,
    arbitrary_keywords: @arbitrary_keywords,
    expected_keywords: @expected_keywords,
    unlimited_arguments: @unlimited_arguments
  )
end
matcher_text_builder_class() click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 747
def matcher_text_builder_class
  SuperDiff::RSpec::MatcherTextBuilders::RespondTo
end