Skip to content

Instantly share code, notes, and snippets.

@kke
Created June 20, 2013 09:38
Show Gist options
  • Select an option

  • Save kke/5821505 to your computer and use it in GitHub Desktop.

Select an option

Save kke/5821505 to your computer and use it in GitHub Desktop.
5 class ExampleGroupProxy
6
7 def initialize(example_group) # :nodoc:
8 @description = example_group.description
9 @nested_descriptions = example_group.nested_descriptions
10 @examples = example_group.example_proxies
11 @location = example_group.location
12 @backtrace = example_group.location # deprecated - see the backtrace method below
13 @options = example_group.options.dup
14 @options.delete(:location)
15 @options.delete(:scope)
16 end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment