method
new
1.3.1 -
Show latest stable
- Class:
Spec::Example::ExampleGroupProxy
new(example_group)public
No documentation available.
# File lib/spec/example/example_group_proxy.rb, line 7
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
@options = example_group.options.dup
@options.delete(:location)
@options.delete(:scope)
end