Lightweight proxy for an example group. This is the object that is passed to Spec::Runner::Formatter::BaseFormatter#example_group_started
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.
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 def backtrace Spec::deprecate("ExampleGroupProxy#backtrace","ExampleGroupProxy#location") @backtrace end
Deprecated - just use gsub on the description instead.
# File lib/spec/example/example_group_proxy.rb, line 47 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
Generated with the Darkfish Rdoc Generator 2.