Method: Spec::Runner::Configuration#extend

Defined in:
lib/spec/runner/configuration.rb

#extend(*modules_and_options) ⇒ Object

:call-seq:

extend(Some::Helpers)
extend(Some::Helpers, More::Helpers)
extend(My::Helpers, :type => :key)

Works just like #include, but extends the example groups with the modules rather than including them.

[View source]

90
91
92
# File 'lib/spec/runner/configuration.rb', line 90

def extend(*modules_and_options)
  include_or_extend(:extend, *modules_and_options)
end