Method: RSpec::Core::ExampleGroup.add_example

Defined in:
lib/rspec/core/example_group.rb

.add_example(example) ⇒ void

Adds an example to the example group

[View source]

367
368
369
370
# File 'lib/rspec/core/example_group.rb', line 367

def self.add_example(example)
  reset_memoized
  examples << example
end