Class: Spec::Example::ExampleGroupProxy

Class | Spec::Example::ExampleGroupProxy
In: | lib/spec/example/example_group_proxy.rb
Parent: | Object

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

### Methods

backtrace filtered_description

### Attributes

description | [R] | This is the description passed to the `describe()` method or any of its aliases
examples | [R] | A collection of ExampleGroupProxy objects, one for each example declared in this group.
location | [R] | The file and line number at which the proxied example group was declared. This is extracted from `caller`, and is therefore formatted as an individual line in a backtrace.
nested_descriptions | [R] | Used by Spec::Runner::Formatter::NestedTextFormatter to access the description of each example group in a nested group separately.
options | [R] | Optional hash passed to the example group declaration. Note that RSpec uses this hash internally and reserves the keys :location and :scope for its own use (and removes them from this hash)

### Public Instance methods

backtrace()

Deprecated - use location() instead

filtered_description(regexp)

Deprecated - just use gsub on the description instead.

[Validate]