class RSpec::Matchers::BuiltIn::BePredicate
Public Instance Methods
actual_for_matcher_text()
click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 410 def actual_for_matcher_text actual end
expected_action_for_matcher_text()
click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 422 def expected_action_for_matcher_text "return true for" end
expected_for_matcher_text()
click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 414 def expected_for_matcher_text if SuperDiff::RSpec.rspec_version < "3.10" expected else predicate.to_s.chomp('?') end end
matcher_text_builder_args()
click to toggle source
Calls superclass method
# File lib/super_diff/rspec/monkey_patches.rb, line 430 def matcher_text_builder_args super.merge( predicate_accessible: predicate_accessible?, private_predicate: private_predicate?, expected_predicate_method_name: predicate ) end
matcher_text_builder_class()
click to toggle source
# File lib/super_diff/rspec/monkey_patches.rb, line 426 def matcher_text_builder_class SuperDiff::RSpec::MatcherTextBuilders::BePredicate end