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.
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 |