class Spec::Example::ExampleGroupProxy

to Spec::Runner::Formatter::BaseFormatter#example_group_started
Lightweight proxy for an example group. This is the object that is passed

def ==(other) # :nodoc:

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

def backtrace

Deprecated - use location() instead
def backtrace
  Spec::deprecate("ExampleGroupProxy#backtrace","ExampleGroupProxy#location")
  @backtrace
end

def filtered_description(regexp)

Deprecated - just use gsub on the description instead.
def filtered_description(regexp)
  Spec::deprecate("ExampleGroupProxy#filtered_description","gsub (or similar) to modify ExampleGroupProxy#description")
  ExampleGroupMethods.build_description_from(
    *nested_descriptions.collect do |description|
      description =~ regexp ? description.gsub($1, "") : description
    end
  )
end

def initialize(example_group) # :nodoc:

:nodoc:
def initialize(example_group) # :nodoc:
  @description         = example_group.description
  @nested_descriptions = example_group.nested_descriptions
  @examples            = example_group.example_proxies
  @location            = example_group.location
  @backtrace           = example_group.location # deprecated - see the backtrace method below
end