class Spec::Example::ExampleProxy

example-related methods in Spec::Runner::Formatter::BaseFormatter
Lightweight proxy for an example. This is the object that is passed to

def ==(other) # :nodoc:

:nodoc:
def ==(other) # :nodoc:
  (other.description == description) & (other.location == location)
end

def backtrace

Deprecated - use location()
def backtrace
  Spec.deprecate("ExampleProxy#backtrace","ExampleProxy#location")
  location
end

def initialize(description=nil, options={}, location=nil) # :nodoc:

:nodoc:
def initialize(description=nil, options={}, location=nil) # :nodoc:
  @description, @options, @location = description, options, location
end

def update(description) # :nodoc:

:nodoc:
description and returns self.
Convenience method for example group - updates the value of
def update(description) # :nodoc:
  @description = description
  self
end