Exception: RSpec::Core::Pending::SkipDeclaredInExample

Inherits:
StandardError
  • Object
show all
Defined in:
lib/rspec/core/pending.rb

Overview

Raised in the middle of an example to indicate that it should be marked as skipped.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(argument) ⇒ SkipDeclaredInExample

Returns a new instance of SkipDeclaredInExample.



11
12
13
# File 'lib/rspec/core/pending.rb', line 11

def initialize(argument)
  @argument = argument
end

Instance Attribute Details

#argumentvoid (readonly)

Returns the value of attribute argument.



9
10
11
# File 'lib/rspec/core/pending.rb', line 9

def argument
  @argument
end