Lightweight proxy for an example group. This is the object that is passed to Spec::Runner::Formatter::BaseFormatter#example_group_started
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)
Used by Spec::Runner::Formatter::NestedTextFormatter to access the description of each example group in a nested group separately.
Deprecated - use location() instead
# File lib/spec/example/example_group_proxy.rb, line 41
41: def backtrace
42: Spec::deprecate("ExampleGroupProxy#backtrace","ExampleGroupProxy#location")
43: @backtrace
44: end
Deprecated - just use gsub on the description instead.
# File lib/spec/example/example_group_proxy.rb, line 47
47: def filtered_description(regexp)
48: Spec::deprecate("ExampleGroupProxy#filtered_description","gsub (or similar) to modify ExampleGroupProxy#description")
49: ExampleGroupMethods.build_description_from(
50: *nested_descriptions.collect do |description|
51: description =~ regexp ? description.gsub($1, "") : description
52: end
53: )
54: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.