method
new
1.2.8 -
Show latest stable
-
0 notes -
Class: Spec::Example::ExampleGroupProxy
- 1.1.4
- 1.1.12
- 1.2.0
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
new(example_group)
public
Hide source
# 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