异常: RSpec::Core::Pending::SkipDeclaredInExample

继承
StandardError
  • Object
显示全部
定义于
lib/rspec/core/pending.rb

概述

在示例中间引发,表示它应该被标记为跳过。

实例属性摘要 折叠

实例方法摘要 折叠

构造函数详细信息

#initialize(argument) ⇒SkipDeclaredInExample

返回 SkipDeclaredInExample 的新实例。

11
12
13
# File 'lib/rspec/core/pending.rb', line 11
def initialize(argument)
  @argument = argument
end

实例属性详细信息

#argumentvoid (只读)

返回属性 argument 的值。

9
10
11
# File 'lib/rspec/core/pending.rb', line 9
def argument
  @argument
end