class RSpec::Core::Example
def description
there is one, otherwise returns a message including the location of the
do_something }`) it returns the message generated by the matcher if
`specify`, `it`, etc). If no string is submitted (e.g. `it { is_expected.to
Returns the string submitted to `example` or its aliases (e.g.
def description description = metadata[:description].to_s.empty? ? "example at #{location}" : metadata[:description] RSpec.configuration.format_docstrings_block.call(description) end