Class Spec::Example::ExamplePendingError

  1. lib/spec/example/errors.rb
Parent: StandardError

Methods

public class

  1. new

Attributes

pending_caller [R]

Public class methods

new (message=nil, pending_caller=nil)
[show source]
# File lib/spec/example/errors.rb, line 6
      def initialize(message=nil, pending_caller=nil)
        super(message)
        @pending_caller = pending_caller || caller[2]
      end