Flowdock
method

determine_superclass

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Example::ExampleGroupFactory

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.4) is shown here.

These similar methods exist in 1.3.1:

determine_superclass(opts) protected

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/example/example_group_factory.rb, line 51
        def determine_superclass(opts)
          key = if opts[:type]
            opts[:type]
          elsif opts[:spec_path] =~ /spec(\\|\/)(#{@example_group_types.keys.join('|')})/
            $2 == '' ? nil : $2.to_sym
          end
          get(key)
        end
Register or log in to add new notes.