类: RSpec::Matchers::BuiltIn::EndWith 私有
- 继承
-
StartOrEndWith
- Object
- BaseMatcher
- StartOrEndWith
- RSpec::Matchers::BuiltIn::EndWith
- 定义于
- lib/rspec/matchers/built_in/start_or_end_with.rb
概述
此类是私有 API 的一部分。 应尽可能避免使用此类,因为它可能会在未来被删除或更改。
提供 end_with
的实现。 不建议直接实例化。
常量摘要
从 BaseMatcher 继承的常量
方法摘要
从 StartOrEndWith 继承的方法
#description, #failure_message, #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::StartOrEndWith 继承构造函数