Method: RSpec::Core::SharedExampleGroupInclusionStackFrame#description

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

#descriptionString

Returns Description of this stack frame, in the form used by RSpec's built-in formatters.

Returns:

  • (String)

    Description of this stack frame, in the form used by RSpec's built-in formatters.

[View source]

805
806
807
808
# File 'lib/rspec/core/example_group.rb', line 805

def description
  @description ||= "Shared Example Group: #{shared_group_name.inspect} " \
    "called from #{formatted_inclusion_location}"
end