Class: SuperDiff::RSpec::MatcherTextBuilders::HavePredicate

Inherits:
Base
  • Object
show all
Defined in:
lib/super_diff/rspec/matcher_text_builders/have_predicate.rb

Instance Method Summary collapse

Methods inherited from Base

#call, #matcher_description

Constructor Details

#initialize(predicate_accessible:, private_predicate:, **rest) ⇒ HavePredicate

Returns a new instance of HavePredicate.



7
8
9
10
11
# File 'lib/super_diff/rspec/matcher_text_builders/have_predicate.rb', line 7

def initialize(predicate_accessible:, private_predicate:, **rest)
  super(**rest)
  @predicate_accessible = predicate_accessible
  @private_predicate = private_predicate
end