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

- (SkipDeclaredInExample) initialize(argument)

Returns a new instance of SkipDeclaredInExample

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

Instance Attribute Details

- (void) argument (readonly)

Returns the value of attribute argument

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