Class: SuperDiff::RSpec::MatcherTextBuilders::HavePredicate
- Defined in:
- lib/super_diff/rspec/matcher_text_builders/have_predicate.rb
Instance Method Summary collapse
-
#initialize(predicate_accessible:, private_predicate:, **rest) ⇒ HavePredicate
constructor
A new instance of HavePredicate.
Methods inherited from Base
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 |