类: RSpec::Matchers::BuiltIn::BePredicate 私有

继承
DynamicPredicate 显示所有
定义于
lib/rspec/matchers/built_in/has.rb

概述

此类属于私有 API 部分。 应尽可能避免使用此类,因为它可能会在将来被移除或更改。

提供 be_<predicate> 的实现。 不建议直接实例化。

常量摘要 折叠

REGEX =

此常量属于私有 API 部分。 应尽可能避免使用此常量,因为它可能会在将来被移除或更改。

:nodoc

Matchers::BE_PREDICATE_REGEX

BaseMatcher 继承的常量

RSpec::Matchers::BuiltIn::BaseMatcher::UNDEFINED

方法摘要

DynamicPredicate 继承的方法

#description, #failure_message, #failure_message_when_negated, #initialize

BaseMatcher 继承的方法

#description, #diffable?, #expects_call_stack_jump?, #initialize, #match_unless_raises, #matches?, #supports_block_expectations?

RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages 包含的方法

#failure_message, #failure_message_when_negated

Composable 包含的方法

#===, #and, #description_of, #or, should_enumerate?, surface_descriptions_in, unreadable_io?, #values_match?

构造函数详细信息

此类从 RSpec::Matchers::BuiltIn::DynamicPredicate 继承构造函数