Method: Spec::Runner::Configuration#extend
- Defined in:
- lib/spec/runner/configuration.rb
permalink #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.
90 91 92 |
# File 'lib/spec/runner/configuration.rb', line 90 def extend(*) include_or_extend(:extend, *) end |