类: RSpec::Matchers::BuiltIn::Has 私有
- 继承
-
DynamicPredicate
- Object
- BaseMatcher
- DynamicPredicate
- RSpec::Matchers::BuiltIn::Has
- 定义于
- lib/rspec/matchers/built_in/has.rb
概述
此类属于私有 API。 应尽可能避免使用此类,因为它将来可能会被移除或更改。
提供 has_<predicate>
的实现。不打算直接实例化。
常量摘要 收起
- REGEX =
此常量属于私有 API。 应尽可能避免使用此常量,因为它将来可能会被移除或更改。
:nodoc
Matchers::HAS_REGEX
从 BaseMatcher 继承的常量
方法摘要
从 DynamicPredicate 继承的方法
#description, #failure_message, #failure_message_when_negated, #initialize
从 BaseMatcher 继承的方法
#description, #diffable?, #expects_call_stack_jump?, #initialize, #match_unless_raises, #matches?, #supports_block_expectations?
从 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 继承了构造函数