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:
def ==(other) # :nodoc: (other.description == description) & (other.location == location) end
def backtrace
def backtrace Spec.deprecate("ExampleProxy#backtrace","ExampleProxy#location") location end
def initialize(description=nil, options={}, location=nil) # :nodoc:
def initialize(description=nil, options={}, location=nil) # :nodoc: @description, @options, @location = description, options, location end
def update(description) # :nodoc:
description and returns self.
Convenience method for example group - updates the value of
def update(description) # :nodoc: @description = description self end