module RSpec::Expectations::ExpectationHelper
def self.modern_matcher_from(matcher)
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.modern_matcher_from: ((RSpec::Matchers::BuiltIn::BePredicate | RSpec::Matchers::BuiltIn::Include) matcher) -> (RSpec::Matchers::BuiltIn::BePredicate | RSpec::Matchers::BuiltIn::Include)
This signature was generated using 5 samples from 1 application.
- Private: -
def self.modern_matcher_from(matcher) LegacyMatcherAdapter::RSpec2.wrap(matcher) || LegacyMatcherAdapter::RSpec1.wrap(matcher) || matcher end