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.



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

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