module RSpec::Core::Metadata

def self.ascending(metadata)

Other tags:
    Private: -
def self.ascending(metadata)
  yield metadata
  return unless (group_metadata = metadata.fetch(:example_group) { metadata[:parent_example_group] })
  loop do
    yield group_metadata
    break unless (group_metadata = group_metadata[:parent_example_group])
  end
end