method
include_or_extend
include_or_extend(action, *args)
private
Hide source
# File lib/spec/runner/configuration.rb, line 160 def include_or_extend(action, *args) modules, options = args_and_options(*args) [get_type_from_options(options)].flatten.each do |required_example_group| required_example_group = required_example_group.to_sym if required_example_group modules.each do |mod| Spec::Example::ExampleGroupFactory[required_example_group].__send__(action, mod) end end end