类: RSpec::Matchers::BuiltIn::Compound::Or
- 继承自
-
RSpec::Matchers::BuiltIn::Compound
- Object
- BaseMatcher
- RSpec::Matchers::BuiltIn::Compound
- RSpec::Matchers::BuiltIn::Compound::Or
- 定义在
- lib/rspec/matchers/built_in/compound.rb
概述
用于表示复合 or
预期的匹配器。
常量摘要
从 BaseMatcher 继承的常量
实例方法摘要 折叠
从 RSpec::Matchers::BuiltIn::Compound 继承的方法
#description, #diffable?, #expected, #expects_call_stack_jump?, #initialize, #supports_block_expectations?, #supports_value_expectations?
从 BaseMatcher 继承的方法
#description, #diffable?, #expects_call_stack_jump?, #initialize, #match_unless_raises, #matches?, #supports_block_expectations?
从 BaseMatcher::DefaultFailureMessages 包含的方法
从 Composable 包含的方法
#===, #and, #description_of, #or, should_enumerate?, surface_descriptions_in, unreadable_io?, #values_match?
构造函数细节
此类从 RSpec::Matchers::BuiltIn::Compound 继承构造函数
实例方法细节
#failure_message ⇒String
此方法是私有 API 的一部分。 您应尽可能避免使用此方法,因为它将来可能会被删除或更改。
272 273 274 |
# File 'lib/rspec/matchers/built_in/compound.rb', line 272 def end |