Class: SuperDiff::RSpec::MatcherTextBuilders::BePredicate

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

Instance Method Summary collapse

Methods inherited from Base

#call, #matcher_description

Constructor Details

#initialize(predicate_accessible:, private_predicate:, expected_predicate_method_name:, **rest) ⇒ BePredicate

Returns a new instance of BePredicate.



5
6
7
8
9
10
11
12
13
14
15
# File 'lib/super_diff/rspec/matcher_text_builders/be_predicate.rb', line 5

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