Sha256: 8478cb5643d9152c559b5e7dce0831d144c8cd2d71dea2f606d9da95ee583e61

Contents?: true

Size: 365 Bytes

Versions: 1

Compression:

Stored size: 365 Bytes

Contents

module Memoria
  module RSpec
    # Provides methods to retrieve RSpec's example metadata
    module Metadata
      # Retrieve the metadata from the current example
      #
      # @api private
      #
      # @return [Hash] RSpec's metadata of the current example.
      #
      def current_example_metadata
        self.class.metadata
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
memoria-0.1.0 lib/memoria/rspec/metadata.rb