Class Spec::Example::ExampleDescription

  1. lib/spec/example/example_description.rb
Parent: Object

Methods

public class

  1. new

public instance

  1. ==

Attributes

backtrace [R]
description [R]
options [R]

Public class methods

new (description, options={}, backtrace=nil)
[show source]
# File lib/spec/example/example_description.rb, line 6
      def initialize(description, options={}, backtrace=nil)
        @description, @options, @backtrace = description, options, backtrace
      end

Public instance methods

== (other)
[show source]
# File lib/spec/example/example_description.rb, line 10
      def ==(other)
        (other.description == description) & (other.backtrace == backtrace)
      end