Method: RSpec::Core::ExampleGroup.description

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

.descriptionString

Returns the current example group description.

Returns:

  • (String)

    the current example group description

[View source]

85
86
87
88
# File 'lib/rspec/core/example_group.rb', line 85

def self.description
  description = [:description]
  RSpec.configuration.format_docstrings_block.call(description)
end