Method: Spec::Example::ExampleGroupProxy#initialize

Defined in:
lib/spec/example/example_group_proxy.rb

#initialize(example_group) ⇒ ExampleGroupProxy

:nodoc:

[View source]

7
8
9
10
11
12
13
14
15
16
# 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