method
new
1.3.1 -
Show latest stable
-
0 notes -
Class: Spec::Example::ExampleGroupHierarchy
- 1.1.4
- 1.1.12
- 1.2.0 (0)
- 1.2.8 (0)
- 1.3.0 (0)
- 1.3.1 (0)
- What's this?
new(example_group_class)
public
Hide source
# File lib/spec/example/example_group_hierarchy.rb, line 4 def initialize(example_group_class) push example_group_class if example_group_class.respond_to?(:superclass) && example_group_class.superclass.respond_to?(:example_group_hierarchy) unshift example_group_class.superclass.example_group_hierarchy flatten! end end