class RSpec::Core::Configuration
def format_docstrings(&block)
config.format_docstrings { |s| s.strip }
RSpec.configure do |config|
# This will strip the descriptions of both examples and example groups.
@example
Formats the docstring output using the block provided.
def format_docstrings(&block) @format_docstrings_block = block_given? ? block : DEFAULT_FORMATTER end